search_spending
Search NYC check spending records by agency, payee, contract, date range, amount, or expense category; provide a fiscal year or start date to narrow results.
Instructions
Search NYC spending (check) records. Filter by agency, payee, contract, date range, amount, or expense category. Either fiscal_year or issue_date_from is required.
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": "search_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) | |
| amount_max | No | Maximum check amount | |
| amount_min | No | Minimum check amount | |
| payee_name | No | Payee (vendor) name. The way to find a vendor's contracts: read contract_id from the checks. | |
| agency_code | No | 3-digit agency code, e.g. '056' for NYPD, '040' for Education | |
| contract_id | No | Filter spending by contract ID | |
| fiscal_year | No | Fiscal year, e.g. '2024' | |
| issue_date_to | No | Check issue date range end (YYYY-MM-DD) | |
| mwbe_category | No | M/WBE category code | |
| issue_date_from | No | Check issue date range start (YYYY-MM-DD) | |
| expense_category | No | Expense category code | |
| spending_category | No | 'c' for capital, 'e' for expense |