task_save
Create or update scheduled automations to email status digests or run plain-language AI agent instructions at hourly to monthly intervals, with optional time pinning and risky-action control.
Instructions
Create or update a scheduled automation. mode="digest" emails a status snapshot on a schedule (no API key needed). mode="autonomous" runs a plain-language instruction through the on-site AI agent on a schedule (requires an agent API key in settings) — e.g. "fulfil paid orders, restock flagged items, and publish any due draft posts". schedule: hourly|twicedaily|daily|weekly|monthly, with an optional run_hour (0-23, site time) to pin it to a time of day. Set allow_risky=true only if the task may perform destructive/financial actions (refunds, deletes, updates).
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": {
"name": "<name>",
"mode": "<mode>"
},
"name": "task_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| mode | Yes | digest | |
| name | Yes | ||
| notify | No | ||
| enabled | No | ||
| run_hour | No | Preferred hour of day (0-23, site timezone) for daily/weekly/monthly tasks — e.g. 7 for a 7am digest. Omit to run whenever the interval elapses. | |
| schedule | No | daily | |
| allow_risky | No | ||
| instruction | No | For autonomous mode: what the agent should do each run. |