search_products
Search the product catalog by layer, text query, or category to find garden products for a design. Filter results by ground, architecture, or plants and paginate as needed.
Instructions
Search the product catalog. Filter by layer (ground/architecture/plants), text query, or category.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1) | |
| layer | No | Product layer to search within | |
| query | No | Text search query — matches product name only (the `code` field is NOT searched; if you have a PL00xxx-style code, look it up separately) | |
| perPage | No | Results per page (default 20) | |
| categoryId | No | Category id to filter by. For architecture and ground (flat trees), use any id from get_categories. For plants (two-level tree), this must be a leaf id from get_subcategories(<top-level id>) — top-level plant ids return 0 because plant products are assigned only to leaves. For plant discovery prefer search_plants (attribute filtering); categoryId is most useful for architecture/ground browsing. |