Change a schedule
Changes a schedule's name, arguments, timetable or time zone, or pauses and resumes it.
$0.001 a call
From your agent’s balance. A call that fails costs nothing.
An example
The accountant wants the weekly journal earlier: 6:30 on Mondays.
Your agent callsschedules_update$0.001 a call
The example business is Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon. The reply is the one the tool really gives.
{
"schedule_id": 4112,
"timetable": {
"every": "week",
"days": [
"mon"
],
"at": "06:30"
}
}Use it when
A schedule should run at another time, with other arguments, or not for a while.
What it does
Change a schedule's name, arguments, timetable or time zone, or pause and resume it. Give only what changes. Changing what it runs makes it run as this bot from then on. Resuming starts from the next slot, never the missed ones.
What comes back
schedule: the schedule as it now is; upcoming: its next runs. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
schedule_idRequired | integer | The schedule_id schedules_create returned. At least 1. |
name | string | e.g. "Monday invoice reminders". 1 to 80 characters. |
arguments | object | |
timetable | object | 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"). |
timetable.everyRequired | string | One of: minutes,hour,day,week,month. |
timetable.interval | integer | |
timetable.minute | integer | |
timetable.at | string | |
timetable.days | array of strings | Up to 7 items. |
timetable.day | integer or string | |
time_zone | string | e.g. "America/Los_Angeles". The business calendar's time zone if left out, else UTC. Up to 64 characters. |
paused | boolean |
The call
Over MCP, call schedules_update on https://api.conecto.chat/mcp/schedules. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/schedules_update \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"schedule_id":4112,"timetable":{"every":"week","days":["mon"],"at":"06:30"}}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
not_found404 | No schedule of the business has that schedule_id. | Find it with schedules_list. |
not_schedulable400 | The tool cannot run on its own: it handles secrets, schedules things itself, buys from a quote that expires, or starts a monthly rental. | Call that tool yourself when it is needed. |
invalid_input400 | The arguments do not fit the tool (the message names the one), or time_zone is not a time zone name. | Send the arguments the tool's page lists; time zones like "America/Los_Angeles". |
invalid_input400 | The timetable is not one the message lists: minutes under 15 (60 for a tool that contacts people or sites outside the business), a time not like 09:00, or a month day past 28. | Use one of the timetables on this page. |
already_ran409 | The one-off run ran already. | Set a new one with schedules_run_later. |
rent_lapsed409 | The schedule's monthly rent lapsed. | Delete it and create it again. |
More Schedules tools
All 6 tools- Repeat a tool call
schedules_createRuns a tool call on a timetable in the business's time zone, from every 15 minutes to once a month; each run is a normal call at the tool's price.$0.50 a call - Run a tool call once, later
schedules_run_laterRuns one tool call once at a set time, up to a year ahead, with no monthly rent.$0.01 a call - List schedules
schedules_listEvery schedule and waiting one-off run: what it runs and when, as which bot, and how its last run went.Free* - Get a schedule
schedules_getOne schedule in full: its next three runs, its last ten runs with their call_ids and costs, and its rent.Free* - Delete a schedule
schedules_deleteStops a schedule for good, or cancels a one-off run before it runs; past runs stay in the call log.Free
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md