sync_collection
Synchronize your Anki collection with AnkiWeb or a self-hosted server. Upload local changes and download remote updates, including media files.
Instructions
Synchronize Anki collection with AnkiWeb or a self-hosted sync server. Uploads local changes and downloads remote changes. By default syncs both collection data and media files.
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_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | No | AnkiWeb ID or sync server username (optional if saved) | |
| password | No | Account password (optional if saved) | |
| endpoint | No | Sync server URL (optional). Leave empty for AnkiWeb. Example: https://sync.example.com | |
| sync_media | No | Include media files (images, audio) in sync (default: true) | |
| collection_path | No | Path to collection file (optional) |