Retire a rule
retire_ruleRetire an active bookkeeping rule by id, following the user's request. The rule remains in history but is no longer active. A rule still waiting for approval is refused by the user in Caribooks Approvals (https://caribooks.com/portal/review), not here.
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>"
},
"name": "retire_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | No | Which connected company. Optional when only one is connected. | |
| rule_id | Yes | The rule's id, as shown by list_rules. |