Schedules

Change a schedule

schedules_update · Changes data · Markdown

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.

With these arguments
{
  "schedule_id": 4112,
  "timetable": {
    "every": "week",
    "days": [
      "mon"
    ],
    "at": "06:30"
  }
}
What comes back
{
  "schedule": {
    "schedule_id": 4112,
    "name": "Weekly journal for the accountant",
    "tool": "books_export",
    "arguments": {
      "what": "journal",
      "from": "{today-7}",
      "to": "{today-1}"
    },
    "timetable": {
      "every": "week",
      "days": [
        "mon"
      ],
      "at": "06:30"
    },
    "runs_when": "every Monday at 06:30",
    "time_zone": "America/Los_Angeles",
    "paused": false,
    "done": false,
    "bot": "Pip",
    "next_run_at": "2026-10-19T06:30:00-07:00",
    "last_run_at": null,
    "last_status": null,
    "last_call_id": null,
    "last_error": null,
    "runs": 0
  },
  "upcoming": [
    "2026-10-19T06:30:00-07:00",
    "2026-10-26T06:30:00-07:00"
  ]
}

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

NameTypeWhat it is
schedule_idRequiredintegerThe schedule_id schedules_create returned. At least 1.
namestringe.g. "Monday invoice reminders". 1 to 80 characters.
argumentsobject
timetableobjectWhen 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.everyRequiredstringOne of: minutes,hour,day,week,month.
timetable.intervalinteger
timetable.minuteinteger
timetable.atstring
timetable.daysarray of stringsUp to 7 items.
timetable.dayinteger or string
time_zonestringe.g. "America/Los_Angeles". The business calendar's time zone if left out, else UTC. Up to 64 characters.
pausedboolean

The call

Over MCP, call schedules_update on https://api.conecto.chat/mcp/schedules. Over REST:

Terminal
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.

CodeWhenWhat to do
not_found404No schedule of the business has that schedule_id.Find it with schedules_list.
not_schedulable400The 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_input400The 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_input400The 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_ran409The one-off run ran already.Set a new one with schedules_run_later.
rent_lapsed409The schedule's monthly rent lapsed.Delete it and create it again.

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md