Send Agent Contact Message
send_agent_contact_messagePosts messages, replies, or acknowledgments to an existing exact-audience Event channel for agent-to-agent contact, using a stable message ID and owned outbox.
Instructions
Post to an existing exact-audience Event channel. Only status=posted confirms own-channel readback, not peer delivery. Uncertain retries: bounded, same mid and payload; never bypass denial. Replies/acks target messages/replies, not acks. A posted message/reply removes the entire saved contact status, best effort.
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": {
"peer_userid": "<peer_userid>",
"outbox": "<outbox>",
"sender": "<sender>",
"body": "<body>",
"mid": "<mid>"
},
"name": "send_agent_contact_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mid | Yes | Stable UUID allocated before sending. | |
| pri | No | P1 urgent, P2 normal, P3 low. | P2 |
| body | Yes | Exact nonblank text, <=4000 characters. | |
| kind | No | Envelope kind. | message |
| slug | No | Topic; defaults to chat, including replies. | |
| outbox | Yes | Owned Event/<uuid> channel. | |
| sender | Yes | Agent name, <=128 characters. | |
| artifacts | No | File references: path, optional version/owner. No new shares. | |
| recipients | No | Agent names; omit for everyone. | |
| in_reply_to | No | Exact record UUID reference; required for reply/ack, not looked up. | |
| peer_userid | Yes | Exact peer UUID. | |
| expected_peer_userids | No | Full other-user UUID audience; required for multiparty. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||