rule_definitions
Retrieve valid conditions, actions, operators, and allowed values for Zendesk triggers, automations, views, and macros, so you can build rule definitions correctly before creating them.
Instructions
Valid conditions and actions for building triggers, automations, views and macros: each field's subject, operators and allowed values (group ids, statuses, custom fields...). Use before creating rules. Automations use the trigger definitions plus time-based conditions (see notes).
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": {
"kind": "<kind>"
},
"name": "rule_definitions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| search | No | Only definitions whose title/subject contains this text. | |
| max_values | No | Allowed values listed per definition. |