list_attribute_terms
Retrieve all term values for a product attribute, e.g., sizes or weights. Narrow results with pagination and field selection.
Instructions
List values (terms) for a product attribute, e.g. '500g', '1kg' for Weight. Use fields param to request only needed fields.
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": {
"attribute_id": "<attribute_id>"
},
"name": "list_attribute_terms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| fields | No | Comma-separated fields to return (default: id,name,slug,count) | |
| per_page | No | Items per page (max 100) | |
| attribute_id | Yes | Parent attribute ID |