team_send
Sends direct peer-to-peer messages to teammates by short name or broadcasts to all, with wake and delivery status so agents can coordinate handoffs.
Instructions
Send a direct peer-to-peer message to a teammate by short name (or 'all' to broadcast). Writes to ~/.gemini/agp/teams//inboxes/.json, mirrors to live session hooks/listeners, auto-wakes managed teammates, and returns honest delivery status.
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": {
"team": "<team>",
"to": "<to>",
"message": "<message>"
},
"name": "team_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient short name (e.g. 'backend', 'lead', or 'all'). | |
| hop | No | ||
| kind | No | message | |
| team | Yes | ||
| wake | No | ||
| message | Yes | ||
| from_name | No | lead | |
| wake_mode | No | 'auto' wakes managed/listening/active peers; 'force_cli' spawns detached CLI resume even for unmanaged CLI sessions. | auto |