Get sync status
get_statusReport the vault's sync state. Call it when another tool says the vault is starting, and retry that tool once the state is ready. Other tools work while it's syncing, and while degraded after the first sync. While it's pulled, reading tools work and the others return the starting error. Pass any warning on to the user.
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": "get_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | what works in the current state, while the vault is pulled | |
| state | Yes | starting, pulled, syncing, ready, degraded or error | |
| vault | Yes | remote vault name | |
| warning | No | files that can't sync to the server and what the user should do about them | |
| last_error | No | startup error, or the error of the latest sync if it failed | |
| last_synced_at | No | RFC 3339 time of the last successful sync |