Query Elected Representatives
query_representativesFind elected officials for a US, UK, or Canadian city by address. Auto-detects country; specify country for ambiguous city names.
Instructions
Look up elected officials for a city in the US, UK, or Canada.
US: Google Civic — federal, state, local officials. Requires GOOGLE_CIVIC_API_KEY. UK: TheyWorkForYou — MPs, constituency. Requires TWFY_API_KEY. CA: Represent (Open North) — federal MP, provincial MLA/MPP, municipal councillors. No API key needed.
Country auto-detected or specify with country parameter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | City name or address (e.g., 'Denver', 'Manchester', 'Toronto') | |
| country | No | Country code. Auto-detected from city name if omitted. Required for ambiguous cities like London, Birmingham, Richmond, Hamilton, Cambridge, Windsor. |