Get usage
get_usageWhat this workspace spent on models over the last N days (default 7, at most 90): estimated dollars, tokens in and out, and model calls, summed by day, agent or model, with the total.
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": "get_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | How to group it (default day). | |
| days | No | How many days back. |