Send a follow-up message to a session
send_messageContinue an existing delegated OpenCode session by sending a follow-up message; context and permissions persist, and file edits or shell access can be changed.
Instructions
Continue an existing delegated session with another message. The agent keeps its previous context and its permission level; allow_edits / allow_bash can change that level for this and later messages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Follow-up instruction or question. | |
| allow_bash | No | Grant (true) or revoke (false) shell commands from this message onward. Omit to keep the session's current level. | |
| session_id | Yes | Session id returned by delegate_task/create_session. | |
| allow_edits | No | Grant (true) or revoke (false) file edits from this message onward. Omit to keep the session's current level. |