create_schedule
Create a new schedule for periodic workflow execution. Provide the schedule ID, workflow name, task queue, and cron expression to automate recurring runs.
Instructions
Create a new schedule for periodic workflow execution
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": {
"schedule_id": "<schedule_id>",
"workflow_name": "<workflow_name>",
"task_queue": "<task_queue>",
"cron": "<cron>"
},
"name": "create_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments for the workflow | |
| cron | Yes | Cron expression (e.g., '0 12 * * *') | |
| namespace | No | Temporal namespace for this operation; omit to use the server default | |
| task_queue | Yes | Task queue for the workflow | |
| schedule_id | Yes | Unique identifier for the schedule | |
| workflow_name | Yes | Name of the workflow to schedule |