opencode_message_send
Send a prompt to an AI session and wait for the AI response, enabling MCP clients to submit queries and retrieve model output over HTTP.
Instructions
Send a prompt to a session and wait for the AI response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| agent | No | ||
| format | No | ||
| system | No | ||
| modelID | No | ||
| noReply | No | ||
| variant | No | ||
| directory | No | Project directory to target. Optional; defaults to the server default project. | |
| sessionId | Yes | ||
| providerID | No |