List Serial Ports
list_serial_portsIdentify available serial ports and detected board metadata on Windows, macOS, or Linux to verify connections before compiling or uploading.
Instructions
List serial ports and any detected board metadata using arduino-cli. Works on Windows/macOS/Linux.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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 |