get_products
Retrieve a list of products with optional filters for ID, title, category, brand, price, and rating. Supports pagination to manage large datasets efficiently.
Instructions
Get a list of products with optional filtering and pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | Filter products by brand | |
| category | No | Filter products by category | |
| id | No | Filter products by ID | |
| limit | No | Maximum number of products to return | |
| price | No | Filter products by price | |
| q | No | Filter products by title | |
| rating | No | Filter products by rating | |
| skip | No | Number of products to skip |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"brand": {
"description": "Filter products by brand",
"type": "string"
},
"category": {
"description": "Filter products by category",
"type": "string"
},
"id": {
"description": "Filter products by ID",
"type": "string"
},
"limit": {
"default": 10,
"description": "Maximum number of products to return",
"type": "number"
},
"price": {
"description": "Filter products by price",
"type": "number"
},
"q": {
"description": "Filter products by title",
"type": "string"
},
"rating": {
"description": "Filter products by rating",
"type": "number"
},
"skip": {
"default": 0,
"description": "Number of products to skip",
"type": "number"
}
},
"type": "object"
}