create_worker_task
Create a new saved CoreClaw worker task with input and optional schedule.
WHEN TO USE: Use when the user wants to save a worker configuration as a reusable, scheduled task. 中文触发: 当用户要在 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 with the created task details including slug.
WORKFLOW: Follow with run_worker_task using the returned worker_task_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Task title. Example: "Daily Amazon Price Check". | |
| version | No | Worker version. Defaults to current worker version. Example: "latest" or "1.0.1". (optional) | |
| worker_id | Yes | Worker slug or owner path. Example: "demo-worker" or "owner~demo-worker". Obtain from list_store_workers or list_workers. | |
| input_json | Yes | Task input parameters as a JSON object string. Example: {"keyword":"coffee","limit":10}. Schema comes from get_worker_input_schema. | |
| 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) | |
| 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) |