cancel_task
Stop a running Claude Code agent task by sending a graceful termination signal. Use when an agent must be halted mid-execution.
Instructions
Cancel a running Claude Code agent task. Sends SIGTERM to gracefully stop the agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task ID to cancel |