Cancel a run
opencode_cancelCancel an ongoing OpenCode run, aborting the process and cleaning up the temporary session.
Instructions
Aborts a running opencode run and cleans up the temporary session.
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": {
"runId": "<runId>"
},
"name": "opencode_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | The runId of the run. |