Add products and services
add_productsAdds what the business sells to the setup, each with its price as written, its page, what it is, and its pictures (file ids from add_pictures; or call add_pictures afterwards with the product's name). Products become the catalogue Marsell makes product pictures and posts from; services are named on the Brand page. The same name again changes that one. It takes any number of products. A big catalogue goes in batches: send as many in one call as fit in one message, then the next batch; if a call is refused as too big, send fewer at a time. Each call answers with the names it added and changed and how many products are on file; get_setup lists every product with its price and how many pictures it has.
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": {
"products": "<products>"
},
"name": "add_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| products | Yes | One or more products or services; the same name again changes that one. |