get_departments
Retrieve all UK government departments to understand government structure or identify which department handles a policy area. Filter results by partial department name.
Instructions
Get list of all government departments. Use when you need to know the structure of government or which department handles specific policy areas. See also: get_answering_bodies, get_government_posts.
Args:
name_contains: Filter by partial name match. Example: 'Treasury', 'Health'.
Returns:
List of all government departments.
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": "get_departments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_contains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |