cancel_task
cancel_taskCancel a running or queued task by ID in the tianshu-mcp async task system. Stops CLI agent process trees, clicks GUI stop buttons, and removes queued tasks.
Instructions
取消运行中任务:CLI agent 终止进程树;GUI agent(codex 等)尽力点击界面停止按钮并等待 GUI 空闲(有界超时),未确认停止时结果中明示。排队中任务直接移除;终态任务无动作。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| taskId | Yes |