list_ports
List all serial ports on the current machine with device details like manufacturer and VID/PID, helping identify connected boards such as Arduinos, ESP32s, and USB-UART adapters.
Instructions
List the serial ports currently present on this machine.
Use the description, manufacturer and vid/pid fields to identify the board
(e.g. 0x10C4:0xEA60 = CP210x on many ESP32 dev kits, 0x2341 = Arduino, 0x1A86 = CH340).
On macOS prefer the /dev/cu.* entry over /dev/tty.*.
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": "list_ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |