resources.export_report
Export existing HTML reports to PDF or PNG, providing a download URL or raw base64 bytes when requested.
Instructions
Export an existing HTML report as PDF or PNG. Returns { url } for the web-served download (requires an authenticated dashboard request) by default. Set inline_bytes=true to render in-process and get { bytes_base64 } instead — only available when running via the full kontexta CLI, not the standalone kontexta-mcp package; falls back to { url } with a note if unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | File ID of the HTML report to export. | |
| format | No | Output format: 'pdf' or 'png'. | |
| inline_bytes | No | If true, render in-process and return raw bytes (base64). Only available in the full kontexta CLI bundle; falls back to {url} otherwise. |