get_cost_ledger
Audit token and dollar costs after a task run by retrieving the process's read-only cost ledger.
Instructions
Return the token/$ cost ledger for this process.
Use to audit spend after run_task. Read-only. Not get_audit_log or get_metrics.
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": "get_cost_ledger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |