vex_products
Manage Vendure products: list, fetch, create, update, delete, and add variants through one action-based tool for catalog administration.
Instructions
Manage Vendure products and their variants.
Actions:
list: List products with optional name filter (variant detail omitted; use get for it).
get: Get a single product by ID with variants, options, and facet values.
create: Create a new product.
update: Update an existing product.
delete: Delete a product by ID.
create_variants: Create variants for an existing product.
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": {
"action": "<action>"
},
"name": "vex_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Product ID | |
| env | No | Target env name (default: VEX_ENV, else active). | |
| name | No | New product name | |
| skip | No | Items to skip (default 0). | |
| slug | No | New slug | |
| take | No | Items per page (default 20). | |
| action | Yes | Operation to perform; see description for valid values. | |
| enabled | No | Enable or disable the product | |
| variants | No | Array of variants to create | |
| productId | No | Product ID to create variants for | |
| description | No | New description | |
| filterByName | No | Filter by product name (contains) | |
| facetValueIds | No | Facet value IDs to assign |