accept_invite
Accepts an AP1 invite string or /i/{token} link, registering a handle if needed and confirming the inviter via key fingerprint or returning a safety number to compare.
Instructions
Accepts an invite: an AP1-... string (the whole forwarded message is fine) or an /i/{token} link. Registers first if needed (then a handle is required). With an AP1 string the client itself checks the inviter's keys against the fingerprint in the string: no digits to compare, the contact is confirmed at once (verified_method: invite). With a classic link it returns the safety number with instructions for comparing it: show it to the owner.
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": {
"url": "<url>"
},
"name": "accept_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| handle | No | ||
| server_url | No |