Command Schedule
Manage scheduled prompts for this session.
Request: $ARGUMENTS
Use the schedule tools in the opencode namespace. They only see this session’s schedules.
- To schedule something, call
schedule_create. Choosewhen({ in: "20 minutes" },{ at: "2026-10-27T09:00" },{ every: "1 hour" }or{ cron: "0 9 * * 1-5" }, optional withuntilwhich defaults to every 30s). Adduntil(wake once then stop, 24h default timeout; matches immediately if already true) orif(gate each recurring slot with no model call; baselinesstateat creation without waking) using either{ run: "..." }for a shell check or{ code: "..." }for a Code Mode JavaScript check callingtools.<path>(...)statically (nofetch, 30s / 20 calls / 32 KB caps) and returning a boolean or{ wake, state?, message? }. Code checks run once at creation withstate = nulland failschedule_createif they throw. To stop a repeating schedule, addends:{ after: "8 hours" },{ at: "..." }or{ times: 3 }. Writepromptas the instruction you will receive when it wakes, with enough context to act on it without this conversation. - To pause, resume or delete one, find its id with
schedule_list, then callschedule_pause,schedule_resumeorschedule_delete. - If the request is empty, call
schedule_listand show this session’s schedules: name, when, status and next run.
Reply in one line: what changed and when it next fires.