Schedule a launch
create_scheduleSchedule an instance or a job to start later: once at run_at, or on a recurring cron in a timezone. Give exactly one of run_at or cron. spec is the launch itself, with the same fields as creating an instance (kind instance) or running a job (kind job). ALWAYS set spec.max_runtime_minutes: it is required, and the machine is stopped (billing ends) when it runs that long. A schedule fires within about 2 minutes of its time, in the current environment, and bills like a launch made then. Each run launches as you through this agent sign-in: if the sign-in ends (signed out or revoked), the schedule is paused with last_status credential_revoked. Recurring runs must be at least 15 minutes apart, and an environment holds at most 50 schedules (200 per workspace). Env values in spec (env, env_vars) are write-only: list_schedules shows only their names (env_keys). launch_script and startup_commands are shown to everyone in the environment by list_schedules; keep tokens in the environment secrets (set in the dashboard). Returns the schedule with next_run_at. After it fires, list_schedules shows last_status and last_error; update_schedule pauses, resumes or retimes it, and run_schedule_now starts it at once.
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": {
"kind": "<kind>",
"spec": "<spec>"
},
"name": "create_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cron | No | Recurring: a 5-field cron, minute hour day-of-month month day-of-week, read in timezone, e.g. "0 2 * * *" for 02:00 daily or "0 9 * * MON-FRI". Runs at least 15 minutes apart. Leave out when using run_at. | |
| kind | Yes | instance starts a GPU instance; job runs one command on its own GPU machine | |
| name | No | Schedule name, 1 to 63 characters (default spec.name, or <kind>-schedule) | |
| spec | Yes | The launch, with the API field names. kind job: command, gpu_type and max_runtime_minutes are required. kind instance: name and max_runtime_minutes are required, plus gpu_type or instance_type_id. | |
| run_at | No | One-off: when to launch, as an ISO 8601 time with an offset, e.g. 2026-10-21T02:00:00+01:00. In the future and within 365 days. Leave out when using cron. | |
| enabled | No | false creates the schedule paused (default true) | |
| overlap | No | Recurring only: skip (default) skips a run while the previous run is still live; allow starts it anyway | |
| timezone | No | IANA timezone for cron, e.g. Europe/London (default UTC) | |
| workspace | No | Workspace ID (optional: defaults to the authenticated workspace) | |
| environment | No | Environment name (optional: defaults to the environment this session acts in) |