serial_force_release
Identifies and terminates the process occupying a serial port, freeing it for new connections.
Instructions
Kill the process holding a serial port so it can be opened.
Uses lsof to find the process holding the port, then sends SIGTERM (escalating to SIGKILL if needed). This is a destructive operation — it will terminate the process holding the port.
Args: port: Serial port device path (e.g. /dev/ttyUSB0, /dev/cu.usbserial-1420)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes |