legislators_for_town
Every state representative and senator for a New Hampshire town, with their Liberty Rating. Use this for "who represents me". A town is usually in more than one district; report all of them. For a city divided into wards, pass the ward. Given only a ZIP code, pass zip; a ZIP code covering several towns comes back asking which one.
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": "legislators_for_town"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | a five-digit ZIP code, when the person gave that instead of a town | |
| town | No | the town or city, spelled as a person would type it; pass this or zip | |
| ward | No | the ward number, in a city divided into wards | |
| year | No | the rating year; defaults to the most recent session |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| zip | No | ||
| town | No | ||
| ward | No | ||
| year | Yes | ||
| notes | Yes | ||
| source | Yes | ||
| matched | Yes | ||
| summary | No | ||
| gradeKey | No | ||
| zipTowns | No | ||
| districts | Yes | ||
| suggestions | No | ||
| districtCount | Yes | ||
| legislatorCount | Yes |