sync
Start a background watch cycle to detect Moodle content changes and deletions. Returns immediately; check status for results, and set download to true to fetch files.
Instructions
Start a watch cycle in the background and return at once.
A full cycle takes minutes, so it never runs inside a tool call. Poll
sync_status for the result. With download true it also fetches files,
which takes considerably longer.
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": "sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| download | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |