List political groups
list_groupsList the political groups sitting in a chamber (National Assembly by default, Senate or European Parliament), with their id and acronym. Use it to resolve a group name ('the socialists') to the group id that search_people filters on, and to the acronym that vote tallies carry. Former groups with includeFormer=true.
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": "list_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 25, maximum 25). | |
| chamber | No | NATIONAL_ASSEMBLY, SENATE or EUROPEAN_PARLIAMENT. | NATIONAL_ASSEMBLY |
| includeFormer | No | Also list groups that no longer exist. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 0. | |
| size | No | Items requested per page. | |
| items | No | ||
| 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, across all pages. |