Make a cart link
cart_linkBuild a link that opens agrodiler.com with these items in the cart and the order form shown. Use it when the buyer prefers to finish on the site or your client cannot call place_order. Do not use it to get prices (use quote). Quantities below the minimum order quantity are raised to it; raised_to_moq lists the affected handles. Returns url, the final items and a note. Fails with unknown_skus if a handle is not orderable on the chosen lang site. Does not place an order: nothing is ordered until the buyer submits the form.
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": "cart_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Site language and market (optional, default uk). uk = Ukrainian site and ru = Russian site: Ukraine market, prices in UAH, Nova Poshta delivery, no ship_to. en = English site (site root): EU market, prices in EUR excluding VAT, delivery to EU countries, ship_to is required for quote and place_order. Use the market of the buyer; the range, prices and product handles differ between markets, so keep the same lang across search_products, get_product, quote, cart_link and place_order. | uk |
| items | Yes | Order lines, 1 to 50, e.g. [{"handle": "ct-6205-2rs", "qty": 10}]. Each handle at most once (merge duplicates into one line). |