create_sync_rule
Create a sync rule to mirror events from a source calendar to a target calendar, controlling visibility and adding a title prefix.
Instructions
Create a sync rule that mirrors events from source_calendar_id onto target_calendar_id.
Calendar ids come from list_calendars; the target must be writable. visibility_mode is one of "busy_only" (hide all details, default), "title_only", or "full_details". mirror_prefix is an optional string prepended to mirrored event titles (e.g. "[Personal]"). Set enabled=False to create it paused. Mirrors the source's current events into the target on creation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source_calendar_id": "<source_calendar_id>",
"target_calendar_id": "<target_calendar_id>"
},
"name": "create_sync_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | ||
| mirror_prefix | No | ||
| visibility_mode | No | busy_only | |
| source_calendar_id | Yes | ||
| target_calendar_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||