opencode_session_abort
Abort a running OpenCode session by supplying its session ID, halting autonomous coding tasks to prevent unwanted changes or free up resources.
Instructions
Abort a running session
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session ID to abort | |
| directory | No | Absolute path to the project directory. When provided, the request targets that project. If omitted, the OpenCode server uses its own working directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| text | Yes | ||
| isError | Yes |