The PDF Generator Tool
Turn HTML or Markdown into a polished, paginated PDF with custom styling and page size — the fixed-format deliverable agents produce for reports, statements, and anything that has to look the same everywhere, on infrastructure you control.
Some documents have to look the same for everyone
Reports, statements, certificates, and contracts need a fixed, paginated layout that renders identically on every screen and printer. HTML reflows; a chat message can’t be signed or filed. You need a PDF.
Reflow breaks layout
HTML and docs render differently depending on the viewer.
No pagination
Fixed-format documents need real pages and margins.
Manual export
Turning content into a styled PDF by hand is fiddly.
Sensitive content
Generating PDFs from confidential data can’t leak it.
Content in, polished PDF out
Input
HTML or Markdown
Whatever the agent produced.
The tool accepts HTML for full styling control or Markdown for simplicity, so an agent can hand off content in the form that fits and get a PDF back.
- HTML or Markdown input
- Custom CSS styling
- A4, Letter, or Legal
- Configurable margins
HTML or Markdown
Output
Paginated and fixed
Identical everywhere.
The result is a properly paginated PDF with title, page size, and margins — a fixed-format document that looks the same on every screen and prints correctly every time.
Print-ready
Governance
On-premise generation
Content stays internal.
PDFs are generated inside your perimeter with audit logging, so even confidential statements and reports become files without leaving your environment.
Private, logged
Parameters
The pdf_generate tool accepts these inputs when an agent calls it. Required inputs are flagged.
default: html Optional Input content type. htmlmarkdown
default: A4 Optional Page size. A4LetterLegal
default: 2cm Optional Page margin in CSS format.
Where PDF generation pays back
Reports
Produce a paginated PDF report from an analysis.
Statements
Generate customer statements with a fixed layout.
Compliance docs
Create audit-ready PDFs from agent output.
Certificates
Issue certificates that render identically everywhere.
Proposals
Turn a draft into a polished, sendable proposal.
Network output
Let a network deliver a finished PDF as its result.
Assigned to agents, orchestrated as networks
On VDF AI, an industry’s use cases map to agents, and you assign tools like this one to those agents. Compose multiple agents into a governed, on-premise network.
What changes after you assign it
Questions about the PDF Generator tool
What does the PDF generator do?
It converts HTML or Markdown into a polished, paginated PDF with custom styling, page size, and margins — the fixed-format deliverable for reports, statements, and anything that must look the same everywhere.
Does it accept HTML and Markdown?
Yes. Use HTML for full styling control or Markdown for simplicity, selected via the content_type parameter.
Can I control the page layout?
Yes. Set page_size (A4, Letter, or Legal), margin, and a title for the header to control the document’s layout.
Is content kept private?
Yes. PDFs are generated on-premise with audit logging, so confidential content never leaves your environment.
How is it used by agents?
It is the fixed-format delivery step for reporting, finance, and compliance agents, often alongside the document and spreadsheet generators.
Assign PDF Generator to these agents
These VDF AI agents can be assigned this tool. Open an agent to see the full toolkit it can run.
Tools that work well alongside this one
Where this tool delivers value
Deliver print-ready PDFs from agent output
See the PDF generator turn an agent’s report into a fixed-format document — on infrastructure you control.