session_stop
Stops or removes a queued or running Claude Code CLI session, applying graceful interrupt/terminate signals or forced termination when needed.
Instructions
Stop a run (graceful: SIGINT, then SIGTERM, then SIGKILL) or remove it from the queue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | Yes | Your bot name (attribution). | |
| mode | No | graceful | |
| reason | No | ||
| run_id | Yes | ||
| cross_bot | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||