get_agency_spending
Fetch all spending for a specific NYC agency in a fiscal year to obtain an agency-level financial overview.
Instructions
Get all spending for a specific NYC agency in a fiscal year. A convenience wrapper around search_spending for agency-level financial overview.
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": {
"agency_code": "<agency_code>",
"fiscal_year": "<fiscal_year>"
},
"name": "get_agency_spending"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-based (default: 1) | |
| page_size | No | Results per page (default: 50, max: 20000) | |
| agency_code | Yes | 3-digit agency code, e.g. '056' for NYPD, '040' for Education | |
| fiscal_year | Yes | Fiscal year, e.g. '2024' |