usas_lookup_agency
Resolve agency abbreviations or names to their USAspending canonical toptier name and 4-digit code, required for other USAspending queries.
Instructions
Resolve a user-friendly agency reference ('VA', 'Veterans Affairs', 'DHS') to USAspending's canonical toptier name + 4-digit code. ALWAYS call this FIRST if the user uses an abbreviation — other USAspending tools require the canonical name.
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": {
"searchText": "<searchText>"
},
"name": "usas_lookup_agency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| searchText | Yes | Agency name or abbreviation |