Reply in an OpenCode session
oc_replySends a follow-up prompt to an existing OpenCode session and waits for the agent's answer, letting you continue a session with additional instructions or questions.
Instructions
Send a follow-up prompt to an existing OpenCode session and wait for the answer.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionID": "<sessionID>",
"prompt": "<prompt>"
},
"name": "oc_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| sessionID | Yes | Session id, e.g. ses_... | |
| timeoutSeconds | No |