opencode_send_message
Send a message to an existing opencode session.
Instructions
Send a message to an existing opencode session.
Use this to continue a conversation with a running agent.
Return Format
{"success": bool, "message": str, "data": {"result": dict}}
Examples
opencode_send_message(session_id="sess_01", message="continue")
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": {
"session_id": "<session_id>",
"message": "<message>"
},
"name": "opencode_send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Message text to send to the agent | |
| session_id | Yes | Session ID to send message to |