Prepare a checkout link
prepare_checkout_linkA link the customer opens to see these products in a cart on bulliontradingllc.com, valid 24 hours. Give product ids (from search_products, get_product or find_bullion) and quantities, and optionally the delivery state to check its online rules now. The link holds no price and reserves no stock: the customer sees the live price, chooses delivery and payment, and pays on the website, where the price is locked for 10 minutes at checkout. No order exists until the customer pays. Returns the link, current prices, and notes on payment, shipping and state rules. Use when the user has chosen products to buy and wants to check out: give them the link. It places no order and reserves nothing; the user pays on the website.
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": "prepare_checkout_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Up to 10 products | |
| state | No | Delivery state, to check its online rules (the customer still chooses it in the cart) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| notes | Yes | ||
| expires_at | Yes | ||
| price_time | Yes | ||
| source_url | Yes | ||
| checkout_url | Yes | ||
| subtotal_card | Yes | ||
| subtotal_check_wire | Yes |