Create Category
create_categoryCreate product categories or subcategories in a Salla store with optional image, status, parent, and sort order settings.
Instructions
Create a new product category in the Salla store.
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": {
"name": "<name>"
},
"name": "create_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Category name | |
| image | No | Category image URL | |
| status | No | Category status | |
| parent_id | No | Parent category ID (for subcategories) | |
| sort_order | No | Sort order within its parent |