Search the component database
search_componentsFind motors, propellers or batteries in the ThrustLab database.
component_type is "motor", "propeller" or "battery". query is a
case-insensitive substring of the part name or its maker ("APC", "T-Motor",
"13x6.5"). The maker sits under spec.brand for motors and batteries and under
spec.type for propellers. limit is capped at 200 rows a
page; when has_more is true, pass the returned next_offset as offset to
read the next page. Each row carries its datasheet values, its source and the
CC BY 4.0 attribution line. Pass a returned id to
simulate_powertrain.
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": {
"component_type": "<component_type>"
},
"name": "search_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| offset | No | ||
| sort_by | No | name | |
| sort_order | No | asc | |
| component_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||