Export an event window for Lichtblick / Foxglove
export_for_lichtblickConvert a selected time window into JSON-encoded MCAP with a Lichtblick/Foxglove plot layout. Returns paths, curves, and opening instructions for inspecting topic schemas and up to eight numeric curves.
Instructions
Write a selected time window as JSON-encoded MCAP plus a plot layout for Lichtblick or Foxglove; returns paths, curves, and opening instructions. Choose this for those viewers, not byte-preserving native ROS/CDR export. Inspect topic schemas and use source timestamps in seconds. Automatically selects up to eight numeric plot curves unless signals are specified. Requires a separate viewer; does not launch it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"topics": "<topics>",
"start_seconds": "<start_seconds>",
"end_seconds": "<end_seconds>"
},
"name": "export_for_lichtblick"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| name | No | event | |
| path | Yes | ||
| topics | Yes | ||
| signals | No | ||
| end_seconds | Yes | ||
| start_seconds | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||