serial_search
Search captured serial-port logs with regular expressions to isolate errors like HardFault within a recent time window.
Instructions
Regex-search the full captured history (daily log files) — e.g. find every HardFault in the past hour.
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_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Serial port name, e.g. COM5 or /dev/ttyUSB0 | |
| limit | No | Max matches (default 200) | |
| events | No | Event presets to search for | |
| pattern | No | Regular expression | |
| since_minutes | No | Only search logs newer than this |