opencode_session_list
List OpenCode sessions for a project to review active or past coding tasks. Provide an absolute directory path to filter sessions for a specific project.
Instructions
List all sessions
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 |