haldir_get_spend
Retrieve spend summaries by agent or session, including total USD and per-tool breakdowns, so budget owners can track and control AI agent costs.
Instructions
Spend summary for an agent or session: total USD and a breakdown by tool. The question a budget owner asks.
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": "haldir_get_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Filter by agent ID | |
| session_id | No | Filter by session ID |