compare_census_metric
Compare a US Census metric across multiple places at the same geographic level. Get values with margins of error for 2-25 FIPS codes.
Instructions
Compare a single US Census metric across 2 to 25 places at the same geography level. Params: metric is the canonical_name; fips is a list of 2-25 FIPS codes; dataset is optional ('acs1' or 'acs5'); year is optional. Passing FIPS at mixed geography levels will likely produce an API error. Returns each place's value with margin of error. Source: public-domain US Census Bureau data.
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": {
"metric": "<metric>",
"fips": "<fips>"
},
"name": "compare_census_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fips | Yes | ||
| year | No | ||
| metric | Yes | ||
| dataset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |