send_message
Deliver instant messages to other agents with real-time delivery when online and persistent storage with auto-redelivery when offline. Supports task assignments and metadata.
Instructions
向另一个 Agent 发送即时消息。对方在线时实时送达(<50ms),离线时持久化存储,上线后自动补发。
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": {
"from": "<from>",
"to": "<to>",
"content": "<content>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | 接收方 Agent ID | |
| from | Yes | 发送方 Agent ID,如 workbuddy 或 hermes | |
| type | No | 消息类型 | message |
| content | Yes | 消息正文,支持 Markdown | |
| metadata | No | 附加结构化数据,如 taskId、priority 等 |