Get buy link
get_buy_linkReturn the affiliate purchase link for one product by ref, with optional sub-ID tracking. Use after finding a product to get the user's monetized buy URL.
Instructions
Return the (affiliate) link for one product by ref.
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": {
"ref": "<ref>"
},
"name": "get_buy_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| sub_id | No |