get_report_info
Extract metadata from HTML report files to understand signal details and detected peaks without loading the entire HTML content.
Instructions
Get metadata from HTML report without loading entire file.
Extracts metadata JSON from HTML report file. This allows LLM to
understand report content without consuming tokens for HTML.
Args:
file_name: Report filename in reports/ directory
Returns:
Dictionary with metadata (NO HTML content)
Example:
>>> info = get_report_info("fft_spectrum_baseline_1.html")
>>> print(f"Signal: {info['metadata']['signal_file']}")
>>> print(f"Peaks detected: {info['metadata']['num_peaks']}")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||