Skip to main content
Glama

Fill a PDF template

anvil_fill_pdf
Destructive

Fill an Anvil PDF template (cast) with data and return the finished PDF as base64. REST: POST /fill/{castEid}.pdf. Returns { filename, byteLength, pdfBase64 }. The data object's keys are the template's field aliases.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesObject mapping the template's field aliases to values, e.g. { "name": "Sam", "date": "2026-07-16" }.
titleNoOptional title embedded in the generated PDF metadata.
cast_eidYesThe cast (PDF template) eid to fill (from anvil_get_cast).
fontSizeNoOptional default font size for filled text.
textColorNoOptional default text color as a hex string, e.g. #333333.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.