resources_export_report
Export an HTML report as PDF or PNG for download or inline rendering. Use inline_bytes for raw base64 when running the full CLI; otherwise returns a web-served URL.
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.
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": {
"id": "<id>"
},
"name": "resources_export_report"
}
}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. |