Update rule
Turn a rule on or off, or rename it.
MCP tool gorgias_write → update_rule
write Confirm
Switches a rule on or off. Needs a Lead or Admin user. A rule can reply to customers and set tags on every new ticket, so a change reaches customers. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| rule_id integer required | integer | Rule ID from list_rules. |
| enabled boolean | boolean | true turns on, false turns off. |
| name string | string | New name. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "gorgias_write",
"arguments": {
"operation": "update_rule",
"arguments": {
"rule_id": 1
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"rule_id": 512,
"name": "Tag returns",
"enabled": false
},
"isError": false
}