format_affiliate_link
Format affiliate referral links for shared promotion by entering an affiliate code and optional market public key, generating a deep link for Solana prediction markets.
Instructions
Format an affiliate referral link for sharing.
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": {
"code": "<code>"
},
"name": "format_affiliate_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Affiliate code | |
| market | No | Optional market public key for deep link |