Compose cart (checkout link)
compose_cartComposes a SIGNED LINK to the Aloha Fungi cart from given items (product handle + variant ID + quantity). This tool does NOT create a cart or order, never pays or logs in. It returns a link that the CUSTOMER must click to add products and checkout. Max 10 items.
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": {
"pozycje": "<pozycje>"
},
"name": "compose_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pozycje | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| items | Yes | ||
| total | Yes | ||
| currency | Yes |