tc_switch
Switches the active task to a specified task ID, rejecting tasks marked as closed to keep workflow state valid.
Instructions
切换活动任务。closed 任务会被拒绝。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | 工作区根目录 | |
| task_id | Yes | 要激活的任务 id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | open | |
| task_id | Yes | 任务 id。省略时使用当前活动任务 |