Implementation
gradeNot graded
gradeNot graded
generate_pdfAction
Turn Markdown or HTML into a styled PDF and return a download URL valid for one hour.
View tool JSON
{
"name": "generate_pdf",
"kind": "act",
"impl": "imperative",
"description": "Turn Markdown or HTML into a styled PDF and return a download URL valid for one hour.",
"inputSchema": {
"type": "object",
"properties": {
"markdown": {
"type": "string",
"description": "Markdown content to render"
},
"html": {
"type": "string",
"description": "HTML to render instead of markdown"
},
"pageNumbers": {
"type": "boolean",
"description": "Show page numbers in the footer"
},
"format": {
"type": "string",
"enum": [
"A4",
"Letter",
"Legal",
"A3",
"A5"
]
}
}
},
"page": "/"
}