led_select
Calculation-based LED selection by package, CCT, and operating current. If there is no current, call led_catalog_search (price list without calculation) or ask for the current. Default: 5 items, maximum 10 — if the user asks for more, call with limit 10. Without availability — stock and on order only; availability.source=all — all items. Without sort — lowest cost per lumen; with thresholds.target_flux the sort is always flux-distance-asc, and flux-distance-asc without it is rejected as sort-invalid. Show the result as the table from the response table field — it is the same as on the site. Pass hidden_message to the user; do not promise an order.
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": {
"catalog": "<catalog>",
"current": "<current>"
},
"name": "led_select"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | result sorting: price-per-lumen-usd-asc — lowest cost per lumen (USD/lm), price-usd-asc — lowest price per unit (USD), price-cny-asc — lowest price per unit (CNY), efficacy-desc — highest efficacy, flux-desc — highest flux, flux-distance-asc — closest to the specified target flux, only with target_flux; default price-per-lumen-usd-asc, with thresholds.target_flux always flux-distance-asc | price-per-lumen-usd-asc |
| limit | No | how many items to return | |
| price | No | maximum price per unit | |
| catalog | Yes | price list conditions: package, CCT, and optional refinements | |
| current | Yes | operating current in mA | |
| thresholds | No | flux and efficacy thresholds | |
| temperature | No | solder-point temperature in °C; degrees without qualification mean this temperature | |
| availability | No | availability { source, min_quantity }: stock — stock only, stock-and-order — stock and on order, all — all items without quantity filtering. Field omitted — stock and on order, minimum 1; when a part number is specified, availability is not checked. Availability does not guarantee that an order can be placed |