constituency_election_result
Latest election result for a UK parliamentary constituency: every candidate with party, votes and vote share, the winner, majority, electorate and turnout, from the UK Parliament Members API. Answers "who won in X and by how much?", including by-elections. Needs a constituency id (get one from constituency_search). Covers Westminster elections only, not local, mayoral or devolved elections. (cost: 1 credit)
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": "constituency_election_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| constituencyId | No | integer, required, Parliament constituency id (from constituency_search), e.g. 4105 for Holborn and St Pancras |