Publish a referral code
publish_codePublish one of the user's referral codes on a brand page. One code per brand per user. Provide a code, a referral link, or both.
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": {
"company_slug": "<company_slug>",
"title": "<title>"
},
"name": "publish_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The referral code itself | |
| link | No | The referral link | |
| title | Yes | Short pitch, e.g. '€20 bonus on your first deposit' | |
| description | No | Conditions, how to use it | |
| company_slug | Yes | Company slug from search_companies |