product_category
Manage storefront product categories by listing, creating, updating, or deleting them so products can be organized and category pages populated.
Instructions
Product categories. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).
list_categories: List all product categories of the site
create_product_category: Create a product category (so grid-category / a category page has something to show, and products can be filed under it).
update_product_category: Update a product category (name, image, description, visibility, SEO).
delete_product_category: Delete one or more product categories by id.
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": "product_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Category id [update_product_category] | |
| ids | No | Category ids to delete [delete_product_category] | |
| seo | No | SEO settings to change; other existing SEO tags are kept. [update_product_category] | |
| help | No | Return the action's full documentation and argument schema instead of running it | |
| name | No | Category name [create_product_category, update_product_category] | |
| image | No | Hosted image URL for the category card [create_product_category, update_product_category] | |
| action | Yes | Which operation to run | |
| hidden | No | Hide (true) or show (false) the category [update_product_category] | |
| parent_id | No | Parent category id for a sub-category [create_product_category] | |
| description | No | Category description [create_product_category, update_product_category] |