opencode_cancel
Cancels a running OpenCode background job and its owned local process tree, then polls status until cancellation completes.
Instructions
Cancel one OpenCode background job and its owned local process tree. Poll status until the job reaches cancelled.
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": {
"jobId": "<jobId>"
},
"name": "opencode_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes |