Create checkout link
create_checkout_linkBuild a link that fills the store cart with the chosen products and quantities, and show an order summary view. It does not place an order or take payment: the shopper opens the link, reviews the cart and pays on the site. Use when the user has decided what to buy.
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": {
"items": "<items>"
},
"name": "create_checkout_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Products to put in the cart |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| total | Yes | ||
| currency | No | ||
| checkout_url | Yes |