Skip to content
Ahura OS
Get $10 free
All utilities
Documents and PDF

HTML to PDF generator for AI agents

Renders HTML and CSS into a precise PDF.

utilities.html_to_pdf_generator

What it does

Renders HTML and CSS into a precise PDF. It is one of the Documents and PDF tools in the Ahura Utilities catalogue: a ready-made MCP tool that an agent calls with a typed input and gets a structured result back, with no library to install and no sandbox to start.

How agents use it

Agents use html to pdf generator to generate receipts, invoices and executive briefs. Because it is a plain tool call, it slots into a single agent turn or a step in an Ahura Workflow, and large inputs and outputs are passed by reference using a store:// address from Ahura Store.

Interactive simulation

Run html to pdf generator

Press Run to send the call. The dashboard shows what it would use in a partition. Simulated: nothing is actually executed.

ahura mcp · ptn_demo_7f3a

# Generate receipts, invoices and executive briefs.

→ POST /mcp

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "utilities.html_to_pdf_generator",
    "arguments": {
      "source": "store://documents/sample.pdf",
      "output": "store://out/html_to_pdf_generator.pdf"
    }
  }
}

Ready. Press Run.

ptn_demo_7f3a

Partition · N. Virginia · created just now

Simulated
Activeus-eastRetention hold
Run time
0.0s
0 calls
Size
2.3MB
0.00 ACU used

Services in this partition

  • Utilities

    0 calls · 0.00 ACU

  • Store

    0 calls · 0.00 ACU

Spend by service

Ledger

  • No usage yet.

Good to know

  • Billed per call, with the price shown in tools/list. See pricing
  • Runs inside your partition, so inputs and results stay isolated and follow its retention settings.
  • Safe to chain: pair it with Ahura Workflows for retries and approvals.