Repeat a tool call
schedules_createRun any tool on a timetable, e.g. a weekly report, a daily export or a reminder every Monday at 9:00, in the business's time zone. It runs as this bot, under its daily budget, and each run costs the tool's own price; the reply estimates the most it can cost a month. arguments are checked now; date words in them ({today}, {today+7}, {month}, {last_month}, {year}) are filled in at each run. For one run, use schedules_run_later. Tools that take tokens or read the vault can't be scheduled. A schedule is $0.50 a month, renewed from the balance; the first month is this call. Five failed runs in a row pause it and email the owner. Costs $0.50 per call; nothing if it fails.
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>",
"tool": "<tool>",
"timetable": "<timetable>"
},
"name": "schedules_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | e.g. "Monday invoice reminders". | |
| tool | Yes | The tool to run, e.g. "invoices_remind". | |
| arguments | No | The tool's arguments, as you would send them. | |
| time_zone | No | e.g. "America/Los_Angeles". The business calendar's time zone if left out, else UTC. | |
| timetable | Yes | When it runs, in time_zone. {"every": "minutes", "interval": 30} (15 at the least, 60 for tools that contact people or sites outside the business); {"every": "hour", "interval": 1, "minute": 0}; {"every": "day", "at": "09:00"}; {"every": "week", "days": ["mon", "thu"], "at": "09:00"}; {"every": "month", "day": 1, "at": "09:00"} (day 1 to 28, or "last"). |