get_sync_context
Load an agent's local session state and compiled sync truth, optionally refreshing remote data first. Returns local data even if remote is unreachable, ensuring offline-first context retrieval.
Instructions
Load local session state + compiled truth. Optionally pull remote truth first.
Offline-first: always returns local data even if remote is unreachable or disabled.
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": {
"agent_name": "<agent_name>"
},
"name": "get_sync_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_name | Yes | ||
| project_name | No | ||
| refresh_remote | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||