serial_list_ports
Lists available serial ports with device paths, descriptions, VID:PID, and serial numbers, marking ST-Link VCP ports to help identify the right port for STM32 serial communication.
Instructions
List available serial ports.
Shows all serial ports on this machine with device path, description, VID:PID, and serial number. ST-Link VCP ports are marked with [ST-Link VCP].
Returns: List of serial ports with details.
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": "serial_list_ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |