get_timeline_tool
Generate a condensed narrative summary of ROS2 logs by grouping consecutive same-severity messages, highlighting severity transitions, and flagging gaps in node activity. Quickly understand key events from a log run.
Instructions
Get a condensed narrative summary of a ROS2 log run. Use after load_run.
Compresses the full log timeline into a readable narrative by grouping consecutive same-severity messages, highlighting severity transitions (e.g., INFO -> ERROR), and flagging gaps where a node went silent. Essential for quickly understanding what happened in a long run.
Args: run_id: Run ID from list_runs or a direct path to a log file/directory. time_start: Start time filter. ISO format, epoch, or relative ("-30s" = 30s before run end, "+10s" = 10s after run start). time_end: End time filter. Same format as time_start. nodes: Filter by node name(s). Comma-separated: "sensor_driver,planner". limit: Maximum events to return. Defaults to MCP_ROS2_LOGS_MAX_RESULTS (100). offset: Number of events to skip (default 0). log_dir: Optional path to log directory override.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| time_start | No | ||
| time_end | No | ||
| nodes | No | ||
| limit | No | ||
| offset | No | ||
| log_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |