List Spend Approvals
ledger_approvalsList spend-approval permits for an agent or entire workspace, filtering by pending, approved, denied, consumed, or expired states.
Instructions
List spend-approval permits — yours, or your whole workspace's.
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_approvals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | optional filter: pending | approved | denied | consumed | expired | |
| agent_id | No | list this agent's permits (needs agent_secret or workspace_key) | |
| agent_secret | No | the agent's own secret (agent view) | |
| workspace_key | No | the owning workspace's key — lists ALL its agents' permits when given alone |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||