Wait for upload
syncWait until every local change is uploaded to Obsidian Sync. Remote changes arrive continuously, so there's no need to call this before reading.
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 |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idle | Yes | whether every local change is uploaded; false if uploads were still pending after about 35s | |
| duration_ms | Yes |