opencode_instance_dispose
Shut down the running server instance to end the session and release resources. Specify the project directory to target a specific OpenCode project.
Instructions
Dispose the current opencode instance (shuts it down). WARNING: This is destructive and will terminate the server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Absolute path to the project directory. When provided, the request targets that project. If omitted, the OpenCode server uses its own working directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| text | Yes | ||
| isError | Yes |