agent_send_message
Send a message to another agent's inbox, persist it to shared memory, and wake the receiver if waiting. Supports optional priority, topic, and memory storage.
Instructions
消息总线(兼容保留): 发一条消息到某 agent 收件箱。持久化落 memory.json mailbox。含【实时唤醒】——若接收端此刻正用 inbox_wait 挂起等待, 立即被唤醒拿到该消息(不等下一轮 poll); 若不在 wait, 消息留存待其下次读。可选 kind/topic/priority/memory(自动沉淀进向量记忆)。返回消息 id。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| body | Yes | ||
| from | Yes | ||
| kind | No | message=直接消息(默认) | signal=机器/大脑衍生信号 | |
| topic | No | 可选分组键, 如 workflow:<id>/task:<id>/handoff:<id> | |
| memory | No | true → 入队后异步沉淀进向量记忆(memory_search 可召回), 即内存信号 | |
| priority | No | low|normal|high|critical (default normal) |