port_info
Inspect a specific TCP port to identify the dev server using it, or confirm the port is free. Helps resolve port conflicts before starting or stopping a process.
Instructions
Read-only. Inspects a single TCP port and reports the dev server holding it (same fields as list_dev_servers). If nothing is listening, or the listener is not a recognised dev process, returns { port, status: "free" }. Useful for answering "what's on :3000?" before starting or killing something.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | TCP port number, 1–65535, e.g. 3000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| status | No |