end_task
Delete a delegation session on the opencode-bridge server once work is accepted, clearing its registry entry. Irreversible; use abort_task to stop without losing history.
Instructions
End and DELETE a delegation session on the server, clearing this bridge's registry for it. Use it once the work is accepted. There is no recovery afterwards: to stop the work but keep the history, use abort_task instead.
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": {
"session_id": "<session_id>"
},
"name": "end_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |