create_wholesale_shop_link
Create a short-lived (2 h) link that opens the wholesaler's shop in the person's browser, logged in via IDS-Connect/OCI. The basket the person builds there comes back automatically (list_wholesale_carts) and is tied to project_ref (e.g. the clockin project id/number). Credentials are never in the link. IDS actions: WKE (open shop, return basket — default), ADL (article detail, needs article_no), WKS (send a stored basket to the shop to order it, needs cart_id), LI, SV. Hand the link to the person (chat, mail); do not open it yourself.
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": {
"shop": "<shop>"
},
"name": "create_wholesale_shop_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shop | Yes | Großhändler: provider (grosshandel_…), Kurzname oder Name aus list_wholesale_shops | |
| action | No | IDS-Aktion WKE (Vorgabe), ADL, WKS, LI, SV | |
| cart_id | No | Gespeicherter Warenkorb (für WKS) | |
| article_no | No | Artikelnummer des Händlers (für ADL) | |
| project_ref | No | Projektbezug, z. B. clockin-Projekt-ID oder -Nummer |