How a parliamentarian voted
get_person_votesList the roll-call votes of a parliamentarian with their position (for, against, abstention, absent), newest first. Use it to answer 'how did X vote?'. Default kinds: whole texts, motions and others; pass kind=AMENDMENT or ARTICLE for finer votes. Paginated.
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": {
"personId": "<personId>"
},
"name": "get_person_votes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Kinds of vote, comma-separated. Default: WHOLE_TEXT, MOTION, OTHER. | |
| page | No | Page number, starting at 0. Ask for the next page when 'totalItems' is larger than (page + 1) * size. | |
| size | No | Items per page (default 10, maximum 25). | |
| personId | Yes | Person identifier, from search_people. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 0. | |
| size | No | Number of items requested per page. | |
| items | No | The items of this page. | |
| truncated | No | Present when this answer was shortened to stay short: says what was cut and how to get the rest. | |
| totalItems | No | Total number of items matching, across all pages. For a text search ('q' present) the count is capped. |