manage_department
Manage Freshservice departments by creating, updating, deleting, listing, and filtering department records. Retrieve department details with pagination and custom field support.
Instructions
Manage Freshservice departments.
Args:
action: One of 'list', 'get', 'create', 'update', 'delete',
'filter', 'get_fields'.
department_id: Department ID (required for get/update/delete).
name: Department name (required for create).
description: Description text.
head_user_id: User ID of department head.
prime_user_id: User ID of department prime contact.
domains: List of email domains for the department.
custom_fields: Custom field values dict.
query: Filter query string for 'filter' action
(e.g. "name:'Engineering'").
page/per_page: Pagination.
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": {
"action": "<action>"
},
"name": "manage_department"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| page | No | ||
| query | No | ||
| action | Yes | ||
| domains | No | ||
| per_page | No | ||
| description | No | ||
| head_user_id | No | ||
| custom_fields | No | ||
| department_id | No | ||
| prime_user_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |