Skip to main content
Glama

PDF-Tools MCP Server

by Theorhd

generate_pdf_from_markdown

Convert Markdown content to PDF format with customizable output location and filename for document creation and sharing.

Instructions

Generate a PDF from Markdown content

Input Schema

NameRequiredDescriptionDefault
markdown_contentYesMarkdown content to convert to PDF
output_dirNoOutput directory (optional, defaults to Downloads)/root/Downloads
output_filenameYesName of the output PDF file (without path)

Input Schema (JSON Schema)

{ "properties": { "markdown_content": { "description": "Markdown content to convert to PDF", "type": "string" }, "output_dir": { "default": "/root/Downloads", "description": "Output directory (optional, defaults to Downloads)", "type": "string" }, "output_filename": { "description": "Name of the output PDF file (without path)", "type": "string" } }, "required": [ "markdown_content", "output_filename" ], "type": "object" }

Other Tools from PDF-Tools MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/Theorhd/Pdftools-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server