Get spending breakdown
billing_usageGet a spending breakdown for your workspace.
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": "billing_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Period (e.g., 7d, 30d) | |
| workspace | No | Workspace ID (optional: defaults to the authenticated workspace) | |
| environment | No | Environment name (optional: defaults to the environment this session acts in) |