Hub Pair
hub_pairCreates a one-time pairing code for a person so their account becomes linked to the hub after they send the code to the bot; set minutes to control expiry.
Instructions
A one-time code that links an account to a person: they send pair <code> to the bot from that account, and
from then on the hub knows them there. The owner's code goes to their phone page, never into the agent's text; a
friend's code comes back here to pass on.
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": {
"person": "<person>"
},
"name": "hub_pair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| person | Yes | ||
| minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |