opencode_message_list
List all messages in an OpenCode session with formatted roles and content, optionally limiting results and targeting a project directory.
Instructions
List all messages in a session with formatted roles and content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max messages to return | |
| directory | No | Project directory to target. Optional; defaults to the server default project. | |
| sessionId | Yes |