Totals and rankings
get_totalsFull-record totals or rankings filtered by supplier, named buyer, year or source. Groups by supplier, buyer/department, year or source, separately by source and currency with overlap exclusions. Awards are not payments; use get_department for program spending. No paginated-search sums.
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_totals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| year | No | Original record calendar year or published fiscal period; not annual spending. | |
| limit | No | ||
| source | No | ||
| body_id | No | ||
| group_by | No | ||
| supplier | No | ||
| department | No | ||
| supplier_id | No |