agenthop_join
Join another agent's room with its pairing code; confirm their opening task context matches yours to open the channel.
Instructions
Join the other side's room with its pairing code; returns once their opening line (the task background) arrives. Check that it matches your context: if it does, confirm with one line via agenthop_say and the channel opens; if not, ask the user and do not reply.
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": {
"code": "<code>"
},
"name": "agenthop_join"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The whole pairing code the other side gave you | |
| accept_files | No | Save files the other side sends to disk (by default only their names are recorded) |