serial_port_status
Check serial port link health before sending commands: verify port, baud, connection state, by-id identity, pins, write-control ownership, and connected clients when output looks wrong.
Instructions
Check the link before sending, or when output looks wrong: port, baud, connected/suspended, by-id identity strength, pins, who holds write control, and connected clients. Boot progress: serial_boot_status. Crashes: serial_get_incidents.
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_port_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baud | Yes | ||
| port | Yes | ||
| role | No | ||
| board | No | ||
| clients | Yes | ||
| log_path | No | ||
| connected | Yes | ||
| link_type | No | ||
| suspended | Yes | ||
| link_up_ts | No | ||
| pin_states | No | ||
| identity_by_id | No | ||
| last_rx_age_ms | No | ||
| last_link_event | No | ||
| takeover_client | Yes | ||
| identity_by_path | No | ||
| identity_strength | No | ||
| bytes_rx_since_link_up | No |