ask_port
Prompt the user to choose which serial port to use when multiple ports may match a device; the selection returns to your context for opening.
Instructions
Ask the user which serial port to use, on hosts that can render it (elsewhere the candidate list comes back as text for you to relay). Use it when several ports could plausibly be the device and the choice is the user's to make — not for your own discovery, which is what list_ports is for. This does not touch hardware: the user's choice arrives in your context, and you then call open yourself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Workspace device you are looking for a port for | |
| reason | No | Why you are asking, shown to the user |