messages-send
messages-sendSend a direct message to another user, stored as a CaseFileItem in the recipient's inbox or a specified context case, and return the message ID.
Instructions
Sends a direct message to another user. Stored as a CaseFileItem of type 'message' in the recipient's inbox case (or a specified context case). Returns the message_id.
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": {
"content": "<content>"
},
"name": "messages-send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Message body. Markdown is allowed; rendered by clients that support it. | |
| context_case_id | No | Optional case to attach the message to. Defaults to the recipient's personal Inbox case (preferences.inbox_case_id). | |
| priority | No | Delivery priority: "normal" (default) or "urgent" | |
| reply_to_message_id | No | Optional message RID this message is replying to. Enables threading — orchestrators can correlate replies with their originating requests via messages-list(reply_to_message_id: ...). | |
| subject | No | Optional subject line | |
| to_agent_id | No | Optional specific recipient AgentSession RID. When set, the dispatcher targets only that agent. | |
| to_email | No | Recipient email address; resolved to a user RID server-side. | |
| to_machine_id | No | Optional machine identifier. Resolved to the recipient's first online agent on that machine. Falls back to broadcast if no online agent matches. | |
| to_user_id | No | Recipient user RID. Provide this OR to_email — one of the two is required. |