read_run_cost
Retrieve token usage and cost breakdown for a specific run, detailed by agent and model.
Instructions
Read a run's token and cost breakdown, per agent and model.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"runId": "<runId>"
},
"name": "read_run_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | The run's id. |