execute_rule
Apply a Firefly III rule to matching transactions within a required date range, with confirmation required; preview by testing first to avoid unintended changes.
Instructions
Execute a rule to apply changes to matching transactions.
WARNING: This is a destructive operation that modifies your transactions.
Always use test_rule first to preview what will be changed
Requires confirm=True to prevent accidental execution
Execution happens asynchronously - changes may take a moment
Date ranges are REQUIRED - no defaults are applied
Rule execution in Firefly III is asynchronous. The rule will be queued for processing and applied in the background. Check your transactions later to confirm the changes have been applied.
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": "execute_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| req | Yes | Request model for executing a rule (apply changes). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Status message. NOTE: Firefly III processes rule execution asynchronously. The rule is queued but may still be processing. Check the rule later to confirm changes. | |
| rule_id | Yes | ID of the rule that was executed | |
| success | Yes | Whether the rule execution was accepted by the server | |
| rule_title | Yes | Title of the rule that was executed |