opencode_reply
Send a follow-up prompt to an existing session ID to continue an ongoing coding conversation without restarting.
Instructions
Send a follow-up message to an existing session. Use this to continue a conversation started with opencode_ask or opencode_session_create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Agent to use | |
| format | No | Response format: plain text or JSON constrained by a JSON Schema. JSON Schema requires OpenCode permission for the StructuredOutput tool. | |
| prompt | Yes | The follow-up message | |
| modelID | No | Model ID | |
| variant | No | Model variant | |
| directory | No | Absolute path to the project directory. When provided, the request targets that project. If omitted, the OpenCode server uses its own working directory. | |
| sessionId | Yes | Session ID to reply in | |
| providerID | No | Provider ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| text | Yes | ||
| isError | Yes |