update_resource
Update a Zendesk object by ID, preserving unspecified conditions and actions for triggers, automations, and views; dropping dropdown options requires an explicit flag.
Instructions
Update an object by ID. For triggers/automations/views, unspecified conditions or actions are preserved (Zendesk would otherwise clear them); dropping dropdown options requires allow_option_removal.
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": {
"resource": "<resource>",
"id": "<id>",
"data": "<data>"
},
"name": "update_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Object ID (or key for custom_objects). | |
| data | Yes | Attributes to change (unwrapped). Arrays such as actions or a view's columns replace the existing array; for triggers, automations and views the server keeps whatever you don't send. | |
| resource | Yes | Resource type. Ones needing parent_id: user_identities (parent_id = user id), ticket_field_options (parent_id = ticket field id), user_field_options (parent_id = user field id), schedule_holidays (parent_id = schedule id), routing_attribute_values (parent_id = routing attribute id), custom_object_records (parent_id = custom object key), side_conversations (parent_id = ticket id), help_center_sections (create: parent_id = category id), help_center_articles (create: parent_id = section id. Prefer the dedicated article tools.). Read-only: tags, deleted_tickets, ticket_metrics, satisfaction_ratings, satisfaction_reasons, job_statuses, audit_logs, activities, locales. | |
| parent_id | No | Parent ID for nested resources (see resource docs). | |
| allow_option_removal | No | Allow a field update that drops dropdown options (removes their values from tickets and macros). |