Make a checkout link
get_cart_linkBuild a gobrewing.com link that opens checkout with these items for the person to review and pay. Places no order. Get variant_id values from get_beer.
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": "get_cart_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Products to put in the cart. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| note | No | ||
| items | Yes | ||
| subtotal_usd | Yes |