marrow_model_usage
Record compact model token usage for value proof. Capture input, output, cached, and total tokens, cost, latency, and provider details while excluding sensitive content.
Instructions
Record compact model token usage for value proof. Use when the harness exposes provider/model token counts. Do not send raw prompts, completions, tool logs, secrets, or customer content.
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": "marrow_model_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model name. | |
| success | No | ||
| cost_usd | No | ||
| provider | No | Model provider, e.g. openai, anthropic, google, xai, qwen, deepseek. | |
| task_type | No | ||
| latency_ms | No | ||
| action_type | No | ||
| decision_id | No | ||
| workflow_id | No | ||
| input_tokens | No | ||
| total_tokens | No | ||
| cached_tokens | No | ||
| output_tokens | No | ||
| marrow_intervention | No | runtime_gate, risk_gate, prior_lesson, proof_pack, before_you_act, fleet_lesson, or other compact reason. | |
| estimated_tokens_saved | No | ||
| estimated_minutes_saved | No | ||
| estimated_cost_saved_usd | No |