Create a task execution plan. Multi-step tasks must have a plan created before execution.
When to Use
- When a task requires more than 2 steps to complete
- When the user's request contains words such as "then", "next", "after that"
- Involves collaboration of multiple tools
Workflow
create-todo→ 2. Execute steps → 3.update-todo-step→ 4. ... → 5.complete-todo
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| task_summary | string | Yes | A one-sentence summary of the task |
| steps | array | Yes | List of steps |
Step Item
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Step ID (e.g., step_1) |
| description | string | Yes | Step description |
| tool | string | No | Expected tool to be used |
| skills | array | No | List of associated skill names (optional, used for tracking) |
| depends_on | array | No | Dependent step ID |
Examples
Open Baidu, search for the weather, and send a screenshot to the user:
{
"task_summary": "打开百度搜索天气并截图发送",
"steps": [
{"id": "step_1", "description": "打开百度", "tool": "browser_navigate", "skills": ["browser-navigate"]},
{"id": "step_2", "description": "输入搜索关键词", "tool": "browser_type", "skills": ["browser-type"], "depends_on": ["step_1"]},
{"id": "step_3", "description": "截图", "tool": "browser_screenshot", "skills": ["browser-screenshot"], "depends_on": ["step_2"]},
{"id": "step_4", "description": "发送截图", "tool": "deliver_artifacts", "skills": ["deliver-artifacts"], "depends_on": ["step_3"]}
]
}
Related Skills
update-todo-step: Update step statusget-todo-status: View plan statuscomplete-todo: Complete plan