Get Allocation Breakdown
get_allocation_breakdownShow how the organization's spend is allocated across cost centers for the current period. Returns totalSpend, the active rule count, and a costCenters list — each with its own spend and rolledUpSpend (own + descendants), pctOfTotal, and parentCostCenterId for the hierarchy. A synthetic "Unallocated" bucket (null costCenterId) captures spend no rule matched. Optionally scope with integration_id; limit caps the cost-center list. Read-only. FOLLOW-UP: this gives the per-cost-center totals; to see WHAT each centre is spending on, call run_cost_pivot with { "dimensions": ["cost_center", "service"] }, or filter to a few with cost_centers ("UNALLOCATED" selects unattributed spend). Example: {} returns the full allocation breakdown for the current period.
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_allocation_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return in the list section (default: no cap beyond the truncation guard). | |
| integration_id | No | Scope to one or more provider connections (integration id). Omit for all connections. | |
| response_format | No | concise = key fields only (default, lower token cost); detailed = the full parsed payload. | concise |