export_pdf_report
Convert an HTML report into a PDF file and submit it to the report API, returning a PDF path and report ID for download or tracking.
Instructions
Convert an HTML report to PDF and POST it to the (fake) API.
Args:
html_path: Path to the HTML file (output of build_html_report).
report_name: Logical name for the report used in the API call.
Returns:
A JSON str with {"pdf_path":"...","report_id":"...","message":"..."}
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": {
"html_path": "<html_path>"
},
"name": "export_pdf_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html_path | Yes | ||
| report_name | No | data_summary |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |