get_ai_spend
AI usage spend grouped by model: calls, AI seconds, tokens, and amount (minor units). Defaults to month-to-date.
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": {
"purpose": "<purpose>"
},
"name": "get_ai_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | RFC3339 window end; defaults to now | |
| from | No | RFC3339 window start; defaults to the first of this month | |
| purpose | Yes | Required on tools that read data or reports; recommended on every tool. One sentence: what you are doing and why (for example "finding this caller's open ticket to answer them"). Building a report, dashboard, analytics or an export is a SautiDesk Pro feature done by the report tools, not by pulling records. |