list_html_reports
Retrieve a listing of HTML reports with file name, type, signal, and size, or fetch metadata for a specific report by name—without returning HTML content to save tokens.
Instructions
List HTML reports, or get one report's embedded metadata.
Without file_name: lists every report in reports/ with file name,
type, signal, and size. With file_name: returns that report's
embedded metadata block (absorbed get_report_info). Never returns
HTML content — metadata only, to avoid token consumption.
Args:
file_name: Optional report filename inside reports/ — returns
its metadata instead of the listing.
Returns:
List of report summaries (no file_name), or a dict with the
single report's metadata (file_name given).
Raises:
ValueError: If file_name escapes the reports directory, does
not exist, or carries no metadata block.
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": "list_html_reports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |