opencode_job_cancel
Abort a running OpenCode session by session ID, stopping the task it owns. Use the optional directory to target a specific project.
Instructions
Abort the OpenCode session owned by a task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Project directory to target. Optional; defaults to the server default project. | |
| sessionId | No |