calendar_sync
Forces a Google Calendar sync and optionally waits until it finishes, so new server events appear and local changes upload.
Instructions
Force a Calendar sync with Google and wait for it to finish.
New server events then show in the provider (calendar.events) and local changes are uploaded. method auto (default): Android's sync manager first (fast, no screen), the app's Refresh if no sync started; background: sync manager only (same as calendar.sync_background); ui: the app's Refresh (drawer). The sync start is verified on Android's sync manager.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calendar_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Also wait until no local change is left to upload (pending_uploads = 0). | |
| method | No | auto, background or ui. | auto |
| timeout | No | Maximum seconds to wait. |