get_rule
Fetch a rule by ID with all triggers and actions to inspect its full configuration.
Instructions
Retrieve a single rule by ID with all its triggers and actions.
Returns the complete rule configuration including triggers (conditions) and actions (what to do when the rule matches).
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": {
"req": "<req>"
},
"name": "get_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| req | Yes | Request model for getting a single rule by ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier for the rule | |
| title | Yes | Display name of the rule | |
| active | No | Whether the rule is active | |
| strict | No | If True, ALL triggers must match (AND). If False, any trigger can match (OR). | |
| actions | No | List of actions for this rule | |
| trigger | No | Single trigger type | |
| triggers | No | List of triggers for this rule | |
| description | No | Optional description of the rule | |
| stop_processing | No | Whether to stop processing other rules after this one |