predict_category
Predict the best Mercado Livre category for a product title before publishing to avoid wrong-category rejections and improve visibility. Then check its required attributes.
Instructions
Predict the best Mercado Livre category for a product title. ALWAYS call this BEFORE create_item: create_item requires a category_id, and publishing in the wrong category hurts visibility and can be rejected. Pass the product title you intend to publish and pick the top prediction. After choosing a category, call get_category_attributes to discover which attributes are mandatory for that category. Returns a list of predicted categories with id, name and full path (e.g. 'Celulares e Telefones > Celulares e Smartphones').
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": {
"title": "<title>"
},
"name": "predict_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Product title to classify, e.g. 'iPhone 13 128GB Meia-noite' |