mcpDeterministic
Get agent spend
tools/call
LLM spend for the agent assembly line. Default returns per-role spend aggregated over a period. Pass role to get a per-run audit trail for that one agent. Period defaults to 24h.
Parameters
workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
period
string
Default 24h.
24h | 7d | 30d
role
string
Pass to drill into one agent. Omit for per-role aggregate.
scout | researcher | icp | writer | closer | coach
Example
MCP tools/calljson
{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "get-agent-spend","arguments": {}}}
Response
The operation is available, but its typed response schema has not been published yet.
JSON-RPC errors
- -32602
- Invalid parameters. Field-level details are returned in the JSON-RPC error data.
- -32001
- Authentication or hosted AI consent is required.
- -32003
- Workspace access is denied.
- -32029
- The request was rate limited.