Skip to main content
Glama

pictify_render_pdf

Generate PDF documents from templates with variable data for invoices, certificates, receipts, contracts, and reports. Programmatically create professional documents by substituting template variables with your data.

Instructions

Generate a single-page PDF from a saved template with variable substitutions. Common use cases: invoices, certificates, receipts, contracts, reports, event tickets, shipping labels, and any document that needs to be generated programmatically. WORKFLOW: Call pictify_get_template_variables first to discover available variables and their types, then call this tool with the appropriate variable values. Supports standard page sizes (A4, Letter, Legal, etc.) — use pictify_list_pdf_presets to see all options. Returns the hosted PDF URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
templateIdYesThe template UID to render as a PDF. Use pictify_list_templates to find available templates.
variablesNoTemplate variables as key-value pairs (e.g., { title: 'Invoice #001', amount: '$1,000', date: '2024-03-09' }). Use pictify_get_template_variables to discover available variable names and types.
presetNoPDF page size preset (e.g., 'A4', 'Letter', 'Legal'). Use pictify_list_pdf_presets to see all available presets with their dimensions. If not specified, uses the template's default dimensions.
titleNoPDF document title metadata — appears in the browser tab when the PDF is opened

Latest Blog Posts

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/pictify-io/mcp'

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