woo_create_product
Create a WooCommerce product for a WordPress site through MCP, specifying name, type, price, stock, categories, images, and metadata.
Instructions
Create a WooCommerce 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": {
"site": "<site>",
"name": "<name>"
},
"name": "woo_create_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | ||
| name | Yes | Product name | |
| site | Yes | Site id (see list_sites) | |
| tags | No | ||
| type | No | simple | |
| images | No | ||
| status | No | publish | |
| meta_data | No | ||
| attributes | No | ||
| categories | No | ||
| sale_price | No | ||
| description | No | ||
| manage_stock | No | ||
| stock_status | No | instock | |
| regular_price | No | ||
| stock_quantity | No | ||
| short_description | No |