update_rule
Modify an existing rule's settings, triggers, actions, or group to adjust how Firefly III transactions are processed.
Instructions
Update an existing rule's configuration.
You can update any combination of:
Basic settings (title, description, active status)
Logic control (strict mode, stop processing)
Triggers (conditions that must match)
Actions (changes to apply)
Note: The 'prohibited' field on triggers is read-only and cannot be modified.
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": "update_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| req | Yes | Request model for updating a rule. |
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 |