bus_sync
Catch up an offline agent by returning every provenance event after a given sequence number so it replays exactly what it missed; store the returned headSeq for the next sync.
Instructions
Catch-up sync for an agent that was offline: returns every provenance event after the given sequence number, so the agent replays exactly what it missed. Store the returned headSeq and pass it as sinceSeq next time. For human-style reading of recent activity, bus_events is the simpler view of the same log.
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": "bus_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Optional: your agent name. On a bus that enforces agent tokens, pass it with token to include your own direct messages; without proof only broadcasts are visible. | |
| limit | No | Maximum number of events to return in one call. | |
| token | No | Optional: your agent token (see agent). | |
| sinceSeq | No | Return events with a sequence number greater than this. 0 replays from the beginning. |