refine_search
Adjust existing product searches by adding, removing, or changing filters such as country, price, and category. Modify previous search parameters to update results instantly without re-parsing queries.
Instructions
Refine a previous product search by adding/removing filters. Takes the intent object from a prior search_products response and applies modifications. No new query parsing needed — this is a fast refinement.
Examples:
Add a value: { action: "add", field: "values", value: "organic" }
Remove a value: { action: "remove", field: "values", value: "vegan" }
Change country: { action: "modify", field: "country", value: "Canada" }
Set max price: { action: "modify", field: "priceMax", value: 30 }
Change category: { action: "modify", field: "category", value: "Beauty" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | The intent object returned from a previous search_products call. Pass it unchanged. | |
| modifications | Yes | Array of modifications to apply to the intent | |
| market | No | Market scope override | |
| limit | No | Max products to return (1-50) |