opencode_session_delete
Delete a coding session by ID and permanently remove all its associated data. Use this to clean up unused sessions and free storage.
Instructions
Delete a session and all its data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session ID to delete | |
| 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 |