gc_schedule
Manage scheduled agent dispatches with actions for creating, listing, enabling, disabling, deleting, and triggering schedules. Supports cron, interval, session start, and one-time triggers.
Instructions
Manage scheduled agent dispatches. Actions: list, create, enable, disable, delete, history, fire (manual trigger), tick (force check). Trigger types: cron, interval, session_start, once.
CRON: pass a standard 5-field expression via 'cron' (preferred): "min hour day-of-month month day-of-week" Examples: "0 9 * * mon-fri" — weekdays at 09:00 "0 10 1 * *" — 1st of every month at 10:00 "0 10 1 1,4,7,10 " — 1st of Jan/Apr/Jul/Oct at 10:00 "/15 9-17 * * 1-5" — every 15 min, 9am-5pm, weekdays
The legacy 'hour'/'minute'/'days' params are deprecated but still accepted (the server converts them to a cron expression). They cannot express day-of-month, month-of-year, or ranges — use 'cron' for those.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Schedule ID | |
| cwd | No | Working directory | |
| cron | No | Standard 5-field cron: "min hour dom month dow". Preferred over hour/minute/days. | |
| days | No | DEPRECATED — use 'cron'. Legacy days of week: ["mon","tue",...] | |
| hour | No | DEPRECATED — use 'cron'. Legacy cron hour (0-23) | |
| name | No | Schedule name | |
| task | No | Task text | |
| agent | No | Agent to dispatch | |
| issue | No | Linked bee issue | |
| limit | No | History limit (default 20) | |
| action | Yes | Action to perform | |
| minute | No | DEPRECATED — use 'cron'. Legacy cron minute (0-59), default 0 | |
| fire_at | No | ISO timestamp for one-shot | |
| trigger | No | Trigger type: cron, interval, session_start, once | |
| interval | No | Interval in minutes (accepts string-of-int) | |
| action_type | No | What to do: dispatch (default) or notify | |
| description | No | Schedule description |