opencode_interrupt
Interrupt an active OpenCode task by sending Ctrl+C, capturing the final output buffer and interruption reason to stop execution and retrieve results.
Instructions
Sends Ctrl+C to interrupt the task, returns the final output buffer and reason.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why the task is being interrupted. | |
| session_id | No | Session ID (defaults to active session). |