Stop a task's agent
stop_taskStop the agent working on a running task, interrupting the work in progress. Works for any task in the workspace, wherever it started; any member may stop any task, a teammate's included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task id (from list_tasks). | |
| workspace_id | No | The task's workspace id (from whoami). Optional: Sinatra finds it from task_id. |