search_products
Find bicycle parts by free-text part names, numbers, needs, or bike type, with optional filters for brand, category, fit, stock, and price.
Instructions
Find bicycle parts. Use this first, whenever the buyer names a part, a part number, a need or a bike. Takes free text (typos, synonyms and part numbers work) plus optional filters: brand, category, fits (such as 11-speed, road, disc-brake, 29in), in_stock_only and max_price_usd. Returns up to limit ranked results with id, title, brand, price, stock status and what each part fits. Search results show stock status but not quantities; call check_availability before promising a quantity. Queries are limited to 200 characters and 20 words; limit is 1 to 25, default 5.
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 |
|---|---|---|---|
| fits | No | Requirements the part must fit, such as `11-speed`, `road`, `disc-brake`, `29in`, `12x142`. A part that says nothing about a requirement is treated as universal for it. Up to 10 entries of at most 100 characters; empty entries are refused. | |
| brand | No | Only parts from this brand, for example `Aldermoor`. At most 100 characters. | |
| limit | No | How many results to return, 1 to 25; anything else is refused. Defaults to 5. | |
| query | No | What the buyer is looking for, in their own words: a part number such as `ALD-CH-1002`, a product type ("11-speed chain"), a need ("brake pads for disc brakes") or a bike ("tire for 29er mountain bike"). Typos and synonyms are tolerated. Leave empty to list parts by the filters alone. | |
| category | No | Only parts in this category. | |
| in_stock_only | No | When true, hide parts that cannot ship from the shelf now (backorder and out of stock). | |
| max_price_usd | No | Only parts priced at or below this many US dollars. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | The best matches, best first. | |
| suggestion | Yes | Advice for the next call when nothing matched; absent otherwise. | |
| total_matches | Yes | How many parts matched in total, before the limit. |