opencode_get_messages
Retrieve message history from opencode sessions to access full conversation transcripts between user and agent.
Instructions
Retrieve message history from an opencode session.
Returns the conversation transcript between the user and the agent.
Return Format
{"success": bool, "message": str, "data": {"messages": [{"role": str}]}}
Examples
opencode_get_messages(session_id="sess_01", limit=100)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of messages to retrieve | |
| session_id | Yes | Session ID to retrieve messages from |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||