opencode_instance_dispose
Shut down an OpenCode instance to end its session and free resources. Optionally specify a project directory; defaults to the server's default project.
Instructions
Dispose the current opencode instance (shuts it down).
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_instance_dispose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Project directory to target. Optional; defaults to the server default project. |