Update Chat Rule
update_chat_ruleModify an existing chat rule by ID in a RunWhen workspace, changing its name, scope, active status, or markdown content.
Instructions
Update an existing chat rule by ID.
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": {
"rule_id": "<rule_id>",
"workspace_name": "<workspace_name>"
},
"name": "update_chat_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New rule name. | |
| rule_id | Yes | The rule ID to update. | |
| scope_id | No | New scope ID. | |
| is_active | No | Set active/inactive. | |
| scope_type | No | New scope type. | |
| rule_content | No | New markdown content. | |
| workspace_name | Yes | The workspace the rule belongs to (e.g. 't-oncall'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |