get_category_attributes
Fetch a Mercado Livre category's required and allowed attribute values so item listings pass validation before publishing.
Instructions
Get the attributes defined for a Mercado Livre category. Call this AFTER picking a category with predict_category and BEFORE create_item, to learn which attributes are mandatory (required=true) and what values are allowed. Every attribute flagged as required MUST be included in create_item's attributes parameter or the publication will be rejected with a validation error. Returns id, name, value_type (string/number/boolean/list/...), required flag, and allowed values (id + name) when the attribute is a closed list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category_id | Yes | Category id returned by predict_category, e.g. 'MLB1055' |