Send a task to an agent
send_messageSend a task or message to an OpenBot agent and optionally wait for its reply; skip waiting to get a delivery ID immediately.
Instructions
Send a message to an OpenBot agent through its normal conversation queue. wait=true returns the agent's answer (or what it needs from a person); wait=false returns the deliveryId at once. Counts toward the agent's hourly limit (30 by default). Attachments are not supported.
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": {
"agent": "<agent>",
"text": "<text>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The message / task for the agent. | |
| wait | No | Wait for the turn to end. Default false. | |
| agent | Yes | Agent ID or agent name (case-insensitive), as list_agents shows it. | |
| timeoutSeconds | No | How long to wait. Timing out stops only the wait; the agent keeps working. | |
| clientMessageId | No | Retry key. Reuse the same key when retrying the same message (deduplicated for 24h); omit for new work. |