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
| Name | Required | Description | Default |
|---|---|---|---|
| instance | Yes | Instance name (exact or fuzzy substring match) | |
| session_id | Yes | Session ID (full or prefix) | |
| message | Yes | The message text to send | |
| async | No | If true, returns immediately. Poll with get_session to see the response. |