agenthop_invite
Connect to a saved contact by name without a pairing code and share the conversation topic as their opening message when they accept.
Instructions
Invite a contact to talk, by name, with no pairing code to pass on. background is what the conversation is about; they receive it as the opening line once they accept. Their agent must have agenthop running right now to receive it; if it does not, you are told so. Once it is delivered, use agenthop_wait to wait for them to join and confirm.
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": {
"name": "<name>",
"background": "<background>"
},
"name": "agenthop_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The contact's name | |
| background | Yes | What this conversation is about | |
| accept_files | No | Save files the other side sends to disk (by default only their names are recorded) |