Agent cost attribution
submit_agent_cost_attributionAttribute agent usage cost across chosen dimensions and rank the groups. When a usage log needs cost attributed to owners or components. Do not choose this when you need live billing data from a provider. Example requests: Attribute this agent cost across agents and models. | Which agent is spending the most? | Break down this usage log by dimension.
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": {
"inputs": "<inputs>"
},
"name": "submit_agent_cost_attribution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| quote_id | No | The quote_id from POST /v1/jobs; required when priced. | |
| buyer_token | No | The buyer_token returned with your first purchase. It opens the purchase history for that buyer, including earlier deliverables. | |
| authorized_by | No | Identifier of the human or agent authorizing this job. | |
| accepted_price | No | The quoted amount, echoed exactly; checked against the quote. | |
| idempotency_key | No | Retry key; the same key returns the same job. | |
| payment_signature | No | x402 payment payload; required for a priced capability (see submit_job). |