update_schedule
Modify an existing schedule's cron expression, template, name, or active status. Supports one-time run_at schedules and optional task parameters.
Instructions
Update an existing schedule.
Args: project_id: ID of the project schedule_id: ID of the schedule to update template_id: ID of the template to run name: Schedule name cron_format: Cron expression for recurring schedules active: Whether the schedule is enabled schedule_type: Schedule type: "" for cron, or "run_at" for one-time runs run_at: RFC3339 timestamp for one-time schedules task_params: Optional task parameters to pass when the schedule runs delete_after_run: Delete the one-time schedule after it runs repository_id: Optional repository ID for commit-check schedules
Returns: Updated schedule details or empty dict on success
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": {
"project_id": "<project_id>",
"schedule_id": "<schedule_id>"
},
"name": "update_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| active | No | ||
| run_at | No | ||
| project_id | Yes | ||
| cron_format | No | ||
| schedule_id | Yes | ||
| task_params | No | ||
| template_id | No | ||
| repository_id | No | ||
| schedule_type | No | ||
| delete_after_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||