log_messages
Retrieve PX4 console messages and decoded events from .ulg logs filtered by severity, time, or text to diagnose flight failures and underperformance.
Instructions
PX4 console messages and decoded events at or above a level, oldest first.
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": "log_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | No | path, '16_21_32.ulg', '2026-10-20/16_21_32', 'latest' or 'latest-N' | latest |
| t_to | No | end, s since log start | |
| limit | No | ||
| t_from | No | start, s since log start | |
| contains | No | case-insensitive text filter | |
| min_level | No | EMERGENCY ALERT CRITICAL ERROR WARNING NOTICE INFO DEBUG | WARNING |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |