Get newsletter link options
get_campaign_link_optionsReturns trackable destination URLs found in the currently saved rendered HTML and text of one newsletter campaign. Use this before authoring an if node with an email_click condition scoped to campaign or url. The tool returns the normalized URL to put into destinationUrl.
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": {
"campaignId": "<campaignId>"
},
"name": "get_campaign_link_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | Yes | Newsletter campaign ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | Yes | ||
| campaign | Yes | ||
| requestId | Yes |