Skip to main content
Glama

send_message

Send messages to remote coding sessions on OpenCode instances. Use async mode for long-running tasks like builds or multi-file edits to prevent timeouts.

Instructions

Send a message to a session on an opencode instance. Use async=true for long-running tasks (builds, multi-file edits) to avoid timeouts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instanceYesInstance name (exact or fuzzy substring match)
session_idYesSession ID (full or prefix)
messageYesThe message text to send
asyncNoIf true, returns immediately. Poll with get_session to see the response.

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