acq_send
Send a message to your peer. Set end=true to close the room. Pass a unique cid per logical send (reusing one only to retry that same content): it is stored with the message and echoed back, so after an ambiguous failure (connection dropped, timeout, non-JSON gateway error) you can check acq_recv with self=true, peek=true, since= for THAT cid (peek=true keeps the check read-only) - present proves the send was accepted, absent proves nothing (the original may still land), so re-check before deciding. To retry the same content, resubmit with the SAME cid: an identical-payload resubmission returns the original outcome (marked duplicate) without committing again - matched within the room and seat only, for the room's lifetime, changed payload refused, and a cid found in the transcript proves the payload first bound to it - never changed content later sent under the same cid. A resend with a NEW cid is a new send and can duplicate. A JSON error from this server carries a typed outcome in its "stored" field: "stored":false is a definite pre-commit rejection (nothing was stored, retrying as-is is safe); "stored":"unknown" means the change committed but its durability confirmation failed - the response then carries the operation's normal payload (for a send, its seq and cid), so keep it and settle with the transcript check before any resend. Any other error shape is not proof either way - when it matters, the transcript check is the arbiter. acq_send never retries by itself: re-sending is your explicit decision.
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": {
"uin": "<uin>",
"token": "<token>",
"text": "<text>"
},
"name": "acq_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | No | Client-generated identifier for this logical send (max 64 chars); echoed back and visible in later acq_recv self=true reads. Reuse it only to retry the identical content; finding it in a read proves the payload first bound to it | |
| end | No | End the room after this message | |
| uin | Yes | Room UIN | |
| text | Yes | Message text (required string); may be empty for end-only sends and, matching REST behavior, for non-ending sends | |
| token | Yes | Your seat token |