Safety Preflight
safety_preflightCheck voltage, current, and pin risks before uploading code or writing to serial to prevent electrical damage.
Instructions
Run electrical preflight checks (voltage/current/pin risks) before upload or serial write operations.
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": "safety_preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqbn | No | Board FQBN when known. | |
| port | No | Optional port for automatic board inference. | |
| board | No | Board name/id (preferred when known). | |
| power | No | ||
| wiring | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| raw | No | ||
| data | No | ||
| note | No | ||
| error | No | ||
| stage | No | ||
| status | No | ||
| command | No | ||
| rawTail | No | ||
| errorCode | No | ||
| retryable | No | ||
| nextActions | No | ||
| reasonCodes | No |