Use an invite code
use_invite_codeUses a friend's LFG referral code for the person: it records who brought them in and makes them friends on LFG. For a referral code (LFG-…); an alarm's link or code is joined, not used here. Once per account and never their own code; it cannot be undone. The welcome gift opens for both when the person's first alarm rings. A code that is not one returns an error.
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": "use_invite_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The referral code, "LFG-AB12C", or an invite link (lfg.gm/i/...). |