Put the shop on the site
place_shopPuts the shop on the site in one go, the same as "Put the shop on your site" on the Online shop in Xodia (the "What's next" step of add_feature online-shop). React sites: the shop kit (and the Products collection and the Content kit when missing), the cart button in the header's menu and the cart once in the layout, a /shop page with the products (in the menu; or productsPath, an existing page that gets the products added at its end), the product page for each product, and a /thanks page (noindex). Plain HTML sites: /shop with a card per product written from the products now (place it again after the products change), a cart button in each page's header, a /thanks page, and the site helper. pieces: any of products, product, cart, thanks (default all). Nothing the owner wrote is rewritten: a piece already there is kept, and a changed page or layout is left with a note saying what to place by hand. Then check with run_check (typecheck, links) and take_screenshot, and restyle the pieces in the site's look (skill shop).
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": {
"projectId": "<projectId>"
},
"name": "place_shop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pieces | No | ||
| projectId | Yes | Project id from list_projects | |
| productsPath | No |