Hand a task to the shop (AI)
create_shop_taskHand a task for running a shop to its assistant — prices, discounts, stock, hiding or showing products, orders: 'all candles 20 % off until Sunday'. It checks the task against the real stock and returns proposed steps. Nothing changes yet: tell the user the proposal waits for their approval in the shop (review_path). Uses the AI quota. Shop ids come from list_shops.
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_id": "<shop_id>",
"instruction": "<instruction>"
},
"name": "create_shop_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shop_id | Yes | The website's id — from list_sites. | |
| instruction | Yes | The task, concrete and complete (4–1000 characters). |