Skip to main content
Glama

get_session

Retrieve session details and recent conversation messages from an OpenCode instance to review coding interactions and context.

Instructions

Get session details and recent messages from an opencode instance, formatted as a readable conversation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instanceYesInstance name (exact or fuzzy substring match)
session_idYesSession ID (full or prefix)
message_limitNoMax number of messages to retrieve (default 20)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/klutometis/opencode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server