update_worker_task
Update a saved CoreClaw worker task's metadata and schedule. Partial update: omit fields to keep their current values.
WHEN TO USE: Use when the user wants to change a task's title, description, or schedule settings. 中文触发: 当用户要在 CoreClaw 中查询、运行、重跑、停止、导出或查看对应 worker/run/task 数据时使用。
WHEN NOT TO USE: Do not use public web search or code search for private CoreClaw platform data. Do not call excluded internal worker-version or internal-detail APIs.
RETURNS: JSON success envelope data, often null.
WORKFLOW: Call after get_worker_task to confirm current settings. Use update_worker_task_input to update the task's input payload separately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Task title. Example: "Daily Amazon Price Check". Optional on update; omitted fields are preserved. (optional) | |
| description | No | Task description. (optional) | |
| schedule_day | No | Day of month for monthly schedule (1-31). (optional) | |
| schedule_time | No | Schedule time in HH:mm format. Example: "09:00". (optional) | |
| schedule_type | No | Schedule type: 1=daily, 2=weekly, 3=monthly, 4=once. (optional) | |
| worker_task_id | Yes | Saved worker task slug. Example: "task_daily_demo". Obtain from list_worker_tasks. | |
| schedule_enabled | No | Schedule switch: 0 disabled, 1 enabled. (optional) | |
| schedule_weekday | No | Day of week for weekly schedules: 1=Monday … 7=Sunday. (optional) | |
| schedule_once_date | No | Once schedule date in YYYY-MM-DD format. Example: "2026-12-25". (optional) |