get_contract
Retrieve full details for a single NYC contract by contract ID, including category, status, purpose, and prime contract fields. Use after finding an ID via contract or spending search.
Instructions
Look up a single NYC contract by its contract ID. Returns full contract details. Use this after finding a contract ID via search_contracts or search_spending. Fields: registered expense/all use prime_contract_*; registered revenue and pending use plain names (contract_id, purpose).
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": {
"contract_id": "<contract_id>"
},
"name": "get_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Contract status (default: registered) | registered |
| category | No | Contract category (default: expense) | expense |
| contract_id | Yes | Contract ID, e.g. 'CT185820201424467' or 'DO185820252009241' |