Create a buy link
create_buy_linkThe buy link for one plan of a quote. Give the quote's quoteId and the plan: its number in the quote, its reference (such as SB-7K3F9Q-2) or its name. The link leads to the insurer's checkout through the broker, so the sale is recorded under the broker's code. The sale is recorded under the broker's code only when the buyer opens the link unchanged.
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": {
"quoteId": "<quoteId>",
"plan": "<plan>"
},
"name": "create_buy_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The plan's number in the quote ("1" for the first), its reference, or its plan name. | |
| quoteId | Yes | The quoteId of a quote, such as SB-7K3F9Q. |