name: 更新计划步骤 description: 更新计划中某个步骤的状态。必须在完成每一步后调用以跟踪进度。状态值 - 等待中、进行中、已完成、失败、跳过。 system: true handler: plan tool-name: update_plan_step category: 计划
更新计划步骤
更新计划中某个步骤的状态。每完成一步必须调用。
参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| step_id | string | 是 | 步骤 ID |
| status | string | 是 | 等待中 / 进行中 / 已完成 / 失败 / 跳过 |
| result | string | 否 | 执行结果或错误信息 |
示例
步骤完成:
{
"step_id": "step_1",
"status": "completed",
"result": "已打开百度首页"
}
步骤失败:
{
"step_id": "step_2",
"status": "failed",
"result": "找不到搜索框元素"
}
相关技能
create-plan: 创建计划get-plan-status: 查看计划状态complete-plan: 完成计划