list_dispatches
List active and completed background dispatches shared across processes. Filter by status or timestamp to catch failed runs and advance failure-watch watermarks.
Instructions
List active and recently completed background dispatches,
including those started by other central-mcp processes (shared
state via ~/.central-mcp/dispatches.db).
status (optional): filter to one of running / complete /
error / timeout / cancelled, or the alias failed —
anything that ended badly (error, timeout, or complete with
ok=false; cancelled is deliberate and excluded).
since (optional): ISO 8601 timestamp; only dispatches whose
finished_at is strictly later are returned (still-running rows
are unaffected by this filter).
Together these back the resident-agent failure watch without
central-mcp holding subscriber state: call
list_dispatches(status="failed", since=<watermark>), alert on
whatever comes back, and advance your watermark to the max
finished_at you saw. The strict-greater-than filter means an
unchanged watermark never re-alerts the same failure.
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": "list_dispatches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ||
| status | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |