Skip to content

Self-hosted AI workspace.

Python

fix: RRULE added to schema (#1322)

Aaran Lawing666d00f9a28a
diff --git a/src/tool_schemas.py b/src/tool_schemas.py
index f805e8f1b..4e0bd6ec5 100644
--- a/src/tool_schemas.py
+++ b/src/tool_schemas.py
@@ -442,7 +442,8 @@ FUNCTION_TOOL_SCHEMAS = [
"end": {"type": "string", "description": "list_events range end (ISO datetime); defaults to +14 days"},
"event_type": {"type": "string", "description": "Tag / category for the event. Common values: work, personal, health, travel, meal, social, admin, other. Aliases accepted: tag, category, type."},
"importance": {"type": "string", "enum": ["low", "normal", "high", "critical"], "description": "Priority level (defaults to 'normal')"},
- "reminder_minutes": {"type": "integer", "description": "For create_event: create an Odysseus reminder this many minutes before the event, e.g. 5 for 'reminder 5 min before'."}
+ "reminder_minutes": {"type": "integer", "description": "For create_event: create an Odysseus reminder this many minutes before the event, e.g. 5 for 'reminder 5 min before'."},
+ "rrule": {"type": "string", "description": "Recurrence rule in iCalendar RRULE format, e.g. 'FREQ=WEEKLY;BYDAY=MO' for weekly on Monday. Use with create_event or update_event."}
},
"required": ["action"]
}