ledger_state_get
Retrieve the full Gear Ledger state document, including agents, tasks, presence, handoffs, and approvals. Optionally select top-level fields to limit the response.
Instructions
Read-only: full Gear Ledger state.json document (agents, tasks, presence, handoffs, approvals). Optionally pass fields to select top-level keys. On machines without the CWI ledger CLI, reads the public CWI gear-ledger repo (no auth, read-only).
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": "ledger_state_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Top-level keys to include (e.g. ["agents","tasks"]). Omit for the whole document. |