opencode_kill
Terminate an OpenCode CLI session and free all associated resources, stopping tasks and cleaning up state to prevent lingering processes.
Instructions
Terminates a session and frees all its resources.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "opencode_kill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session ID (defaults to active session). |