export_debug_report
Write a self-contained JSON report with journal, metrics, profile, and optional snapshot/coredump tied to a run ID, so STM32 firmware bug sessions are reproducible and shareable.
Instructions
Writes a single self-contained JSON report (journal + metrics + profile, optionally a state snapshot and a coredump) tied to the run-id, so a bug session is fully reproducible and shareable from one artifact.
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>"
},
"name": "export_debug_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Output path for the report JSON. | |
| session | No | Optional debug-session name. Omit for the default target. | |
| coredump_path | No | If set, capture a coredump there and reference it in the report. | |
| include_snapshot | No | Capture and embed a debug snapshot (requires a halted target). |