Check e-bike conversion legality
check_conversion_legalityChecks whether a DIY e-bike conversion (motor kit on a regular bicycle) qualifies as a legal electric bicycle in a US state. Returns a pass / warn / fail verdict with a reason for each rule: motor power, speed and class, licence/registration/insurance, class label, battery certification, plus state notes on conversions and recent law changes, with source links.
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": {
"state": "<state>",
"motor_watts": "<motor_watts>"
},
"name": "check_conversion_legality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | US state or DC: two-letter code (CA) or full name | |
| has_pedals | No | True if the bike keeps fully operable pedals. Default true | |
| motor_watts | Yes | Motor rated (nominal) power in watts | |
| battery_cert | No | listed = certified to UL 2271/2849 by an accredited lab; claimed = seller says 'tested to' or 'meets'; none; unknown | |
| has_throttle | No | True if the bike can be powered without pedaling | |
| assist_top_mph | No | Speed at which pedal assist cuts out. Default 20; 28 for a Class 3 setup | |
| throttle_top_mph | No | Speed at which throttle power cuts out. Default 20 |