Referral link for a destination or plan
get_referral_linkBuild your tracked link (requires an active affiliate key): pass plan_id for a plan page with the plan preselected, destination (country, city, region or ISO-2) for a destination page, or nothing for your partner landing page. Share only where advertising is allowed and mark it as an ad; the price returned is current and may change.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_referral_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language for names and texts (default en). | |
| plan_id | No | Exact plan ID from search_plans. | |
| destination | No | Country, city, region, ISO-2 code or destination slug. |