generate_affiliate_link
Generate tracked affiliate links for Mercado Libre and Shopee products by appending your affiliate ID to product URLs, enabling campaign tracking.
Instructions
Generate a tracked affiliate link for any Mercado Libre or Shopee product. Appends your affiliate tracking ID to the URL.
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": {
"marketplace": "<marketplace>",
"product_url": "<product_url>"
},
"name": "generate_affiliate_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| marketplace | Yes | ||
| product_url | Yes | Original product URL | |
| campaign | No | Campaign tag for tracking (optional) |