Set wake schedule
stack_set_wake_scheduleCreate a wake schedule, or replace one (schedule_id): a cron expression read in a time zone, with the task to wake the agent for. cron has five fields (minute hour day-of-month month day-of-week) or is @hourly, @daily, @weekly or @monthly; no schedule may fire more often than every 5 minutes, and at most 20 per agent. time_zone defaults to the agent's own. A fire missed while STACK was down wakes the agent once, not once per missed fire. Quiet hours and the rate limit apply as to any wake. A task is the owner's own words, or STACK's plain default for the source; nothing from the event is ever put into it. Operator only.
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": {
"agent_id": "<agent_id>",
"name": "<name>",
"cron": "<cron>",
"task": "<task>"
},
"name": "stack_set_wake_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cron | Yes | Five fields, or @hourly, @daily, @weekly, @monthly | |
| name | Yes | ||
| task | Yes | ||
| enabled | No | ||
| agent_id | Yes | Agent id (agt_*): any agent of the customer, with or without an agent account | |
| time_zone | No | IANA zone; omit for the agent's own | |
| schedule_id | No | Schedule id (wsc_*) to replace; omit to create |