Checkout link
create_cart_linkMake a link that opens Toys Hub's checkout with these products already in the cart. Give it to the shopper; they confirm and pay on the store's site. Nothing is ordered or stored by this tool.
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_cart_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of names, descriptions and links: "sq" Albanian, "en" English. | en |
| items | Yes | The products to put in the cart, each with its quantity. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| total | No | ||
| skipped | No | ||
| currency | No | ||
| checkoutUrl | Yes |