QMetry: Export HTML Report
qmetry_export_html_reportExport HTML content as a downloadable report file. Turn generated report content into a shareable HTML document for release readiness or quality gate analysis.
Instructions
Export HTML content as a downloadable report file via the backend.
Toolset: AI Agent
Parameters:
projectKey (string): Project key - unique identifier for the project (default: "default")
htmlContent (string) required: HTML content to be exported as a report.
fileName (string) required: Name for the exported report file (without extension). Letters, digits, '.', '_' and '-' only - no path separators or '..' sequences.
Use Cases: 1. Export a generated release readiness report as an HTML file 2. Save AI-generated quality gate analysis as a downloadable report 3. Create a shareable HTML document from report content
Examples:
Export a release readiness report
{
"htmlContent": "<h1>Release Readiness Report</h1><p>Generated by AI Agent.</p>",
"fileName": "release-readiness-report"
}Expected Output: Report file generated and returned by the backend.
Hints: 1. REQUIRED: 'htmlContent' is the full HTML string to export. 2. REQUIRED: 'fileName' is the report file name (without extension). 3. Typically called after generating report content from 'Execute Quality Gate Report' results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | Name for the exported report file (without extension). Letters, digits, '.', '_' and '-' only - no path separators or '..' sequences. | |
| projectKey | No | Project key - unique identifier for the project | default |
| htmlContent | Yes | HTML content to be exported as a report. |