The affiliate's own profile and referral code
my_accountThe affiliate's own profile: the referral code their links carry, the state of their account, and their public affiliate page. Needs the affiliate's own token; it answers for nobody else, and it holds nothing about a customer.
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": {
"locale": "<locale>"
},
"name": "my_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | Yes | The language the affiliate is writing in — set it from their own messages. Everything meant to be read back to them comes back in this language. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The referral code this affiliate's links carry. | |
| name | Yes | ||
| note | Yes | ||
| status | Yes | `active` while the affiliate can be credited for referrals. | |
| socio_page_url | Yes | The affiliate's public page, when the connector was told the site's address. |