Automations: Update automation
automation_updateChange an automation — only what the person asked: state 'active' or 'paused'; the schedule (day_of_month 1-28, run_time HH:MM, timezone, schedule_mode 'first_business_day' = that day rolled from Sat/Sun to Monday, or 'day_of_month'); or ONE period with period_action: 'plan' + planned_date (YYYY-MM-DD, today or later — that period runs on that date instead of the schedule), 'unplan', 'skip' (nothing for that period; optional note), 'covered' + ref (for an invoice: the number or id of the invoice to this customer that already covers that month), 'reset' (back to planned; a done period only after its result was undone, e.g. the invoice cancelled). Runs propose→confirm. 'action': 'archive' (retire it: never runs, hidden from the list, history kept), 'restore' (back from the archive, paused), 'delete' (only while it never produced a result — otherwise refused: archive it instead). CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "automation_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| note | No | ||
| state | No | ||
| action | No | ||
| period | No | The period, YYYY-MM. For a recurring invoice it is the SERVICE month (2026-10 = work done in October, invoiced in November). | |
| run_time | No | ||
| timezone | No | ||
| automation | No | The automation's id (from automation_list) or a part of its name. May be omitted when the cabinet has exactly one automation. | |
| day_of_month | No | ||
| planned_date | No | ||
| period_action | No | ||
| schedule_mode | No | ||
| lead_business_days | No | Generate this many business days (Mon–Fri) BEFORE the action date; the action (e.g. the invoice) stays dated on the scheduled day. |