get_category
Retrieve a category's name, root path, child categories, and listing constraints like max pictures and description length before creating an item.
Instructions
Get details of a category: its name, full path from the root, child categories (to keep drilling down the tree) and the listing settings that apply to it — including constraints relevant BEFORE create_item such as max pictures per item and max description length. A category with no children is a leaf and can be used as category_id in create_item; then call get_category_attributes for its mandatory attributes.
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": {
"category_id": "<category_id>"
},
"name": "get_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category_id | Yes | Category id, e.g. 'MLB1055' (from get_site_categories or predict_category) |