Use a friend's referral code
claim_referral_codeRecord that the person was referred by the owner of a referral code, for the discount and the friend's credit. Allowed once, before the first payment; fails with the app's own sentence otherwise.
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": "claim_referral_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |