send_agent_message
Send a message to teammates' agents. In a shell, collide message "..." does the same with no tool to load. With neither to nor anchor, it goes to the agents at work in this repo whose files the message names (your own other sessions included), and to everyone at work only when it names no code. to = one account email; or anchor = the code it is about ("path.py::symbol", "path.py" or "dir/") with no to, which reaches whoever has an open intent on, or edited in the last day, that code or its callers. With an anchor the recipient also sees whether the code changed since you sent it and whether its tests have passed since. It arrives with their next tool result. to = "@user" (or "@user/2", one of their agents) messages any Collide user once they accept you as a contact; hub = a hub's name or id (a new name with to="@a, @b" starts it). Returns the message id and who received it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | A teammate's account email, or @user / @user/2; omit it when anchor is given. | |
| hub | No | A hub's name or id. | |
| anchor | No | The code the message is about: path.py::symbol, path.py, or dir/. | |
| message | Yes | What you need them to do or know. | |
| repo_id | No | The repository id, e.g. github.com/org/repo (the Collide briefing names it). Omit it to use the repo your session works in. |