Interrupt OpenCode run
opencode_session_interruptStops the current run in a session without ending it, so you can halt activity and keep the session available for further use.
Instructions
Stop the current run in a session. The session stays usable afterwards.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionID": "<sessionID>"
},
"name": "opencode_session_interrupt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionID | Yes |