Get referral code
get_referral_codeLook up a customer's Fold referral code and share link. Use this when the customer wants to share Fold with a friend or check how many people they've successfully referred. Returns the code, a ready-to-paste link (foldlaundry.com/r/CODE), and stats. Both sides get referral credit (amount in the reward field of the response) after the friend completes their first pickup.
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": {
"email": "<email>"
},
"name": "get_referral_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Customer email used at Fold signup. Required. |