cancel_sync
Stop a queued or running background sync by exact sync_id and return its terminal status; already-committed records stay unchanged.
Instructions
Cancel a queued/running background MCP sync by its exact sync_id. Returns the terminal job status after cancellation completes; already-finished jobs are returned unchanged. Stops future requests without deleting or rolling back records already committed to SQLite; counts may be incomplete. Unknown IDs or foreground jobs return status=error. No new cloud request. Use get_sync_status to inspect progress and sync_data with user consent to resume via a new job.
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": {
"sync_id": "<sync_id>"
},
"name": "cancel_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sync_id | Yes | Exact ID of the background sync job to stop. |