create_task_schedule
Schedule one-time or recurring tasks that automatically create a thread or instantiate a recipe in a channel at the due time.
Instructions
Create a task schedule: when due, the sweeper creates a thread titled title in channel_id (or, when recipe_id is set, instantiates that recipe — parent + DAG children — instead). interval_secs omitted = one-shot; a positive value = recurring. first_run_at omitted = fire on the next tick.
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": {
"channel_id": "<channel_id>",
"title": "<title>"
},
"name": "create_task_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| recipe_id | No | when set, each firing instantiates this recipe instead of a bare thread (skipped if the prior run is still in flight) | |
| channel_id | Yes | ||
| first_run_at | No | when to first fire (default: now) | |
| interval_secs | No | recurrence period in seconds; omit for a one-shot |