report_step_cost
Record the cost of a completed pipeline step, accumulating per-step totals for session reporting.
Instructions
Record the cost of a completed pipeline step. Costs accumulate per step and are flushed when report_session is called.
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": {
"step_name": "<step_name>"
},
"name": "report_step_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| model | No | ||
| step_name | Yes | ||
| tokens_in | No | ||
| tokens_out | No | ||
| tokens_cache_read | No | ||
| tokens_cache_write | No |