swsd_list_departments
Retrieve SWSD departments (id, name, description) to validate department names before creating or updating incidents. Supports pagination and name filtering.
Instructions
List SWSD departments (organizational divisions). Returns id, name, description. Use this to validate department_name before incident write tools.
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": "swsd_list_departments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-indexed). | |
| query | No | Optional name substring filter. | |
| per_page | No | Results per page (1-100). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pagination | Yes | ||
| departments | Yes |