create_category
Create a new product category by specifying name, slug, parent category, description, image, and active status.
Instructions
Create a new category. Common fields: name, slug, parentCategoryId (null for a top-level category), description, image, active.
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": {
"data": "<data>"
},
"name": "create_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Fields for the new category. Common fields: name, slug, parentCategoryId (null for a top-level category), description, image, active. Call get_category on an existing record to see the full shape. |