Sensor Recommend
sensor_recommendRecommends sensor ICs and modules by measurement target, protocol, and supported platform, returning matching parts and valid values for unknown filters.
Instructions
Recommend sensor ICs and modules for what you want to measure, with protocol and platform support. Unknown measure, protocol and platform values return valid_values; an unknown type returns no matches. Accepts 1-wire/one-wire and heart rate/blood oxygen aliases. Not for buying parts: use jlc_search. Exact normalized query-ID/alias matches come first; within each group, results are sorted by how many platforms have drivers (platform_count descending), then name ascending. Calculated CO2 (CCS811, ENS160, ENS161, SGP30, iAQ-Core, APC1, SM300D2) is under eco2, not co2; capability_note says what such a part really outputs (BME680/BME688: IAQ and CO2 equivalent come from Bosch's BSEC library on the host), and compensation inputs aren't direct measurements. Generic MCU/platform IDs such as RP2040 are excluded. A query with no searchable words (stop words, single letters, symbols) is ignored and the reply adds a note.
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": "sensor_recommend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Sensing technology (e.g., "tof", "ultrasonic", "ndir", "electrochemical", "mems") | |
| limit | No | Max results (default 15, clamped to 1-100) | |
| query | No | Name, description or manufacturer (e.g., "BME280", "waterproof"), max 500 characters | |
| measure | No | One, or a list/JSON-array string of up to 20 that must all match: temperature, humidity, pressure, distance, tof, lidar, ultrasonic, radar, co2, eco2, co, gas, voc, formaldehyde, h2s, nh3, ozone, oxygen, particulate, light, color, uv, optical, acceleration, gyroscope, magnetic_field, tilt, vibration, rotation, motion, pir, proximity, gesture, face_recognition, current, voltage, sound, flow, level, force, weight, touch, ph, dissolved_oxygen, conductivity, orp, water_quality, moisture, soil_moisture, rain, wind, weather, ir_temperature, flame, biometric, radiation, gps, speed, material. Accepted values come from the catalog. "imu" means acceleration, gyroscope or magnetic_field for a scalar or singleton list; in a multi-item list all expanded measures are required. Everyday words (barometric, lux, dust, compass) are mapped too. | |
| platform | No | "arduino", "esphome", "micropython", "circuitpython", "tasmota", "zephyr" or "raspberry_pi". ESP-IDF has no support records; unknown platforms return valid_values. | |
| protocol | No | "i2c", "i3c", "spi", "uart", "analog", "pwm", "gpio", "one_wire", "rs485", "rs232", "can", "i2s", "usb", "ble", "hdq" or "ssi"; gpio includes gpio/analog/pwm/one_wire, digital includes gpio/pwm/one_wire, and 1-wire/one-wire alias one_wire |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||