Connect Craftmypdf to AI agents

Connect Craftmypdf to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

add_text_to_pdf

Add Text to PDF

Annotate an existing PDF with dynamic text overlays. Add page numbers, headers, footers, or any custom text at configurable positions on selected pages. Supports template variables like `{{pageNumber}}`, `{{totalPages}}`, and `{{currentIndex}}` within text.

generate_image

Generate Image

Generate a JPEG or PNG image from a CraftMyPDF template populated with JSON data. Uses the same template system as PDF generation but outputs an image file.

update_template

Update Template

Update an existing CraftMyPDF template's name or sample JSON data.

get_pdf_info

Get PDF Info

Extract metadata and structural information from a PDF document. Returns page count, page dimensions, and a list of fillable form fields with their types and current values.

generate_pdf_async

Generate PDF (Async)

Initiate asynchronous PDF generation. The request returns immediately with a transaction reference. Once the PDF is ready, the result is delivered to the specified webhook URL. Use this for large or batch PDF generation tasks where you don't need the result immediately.

generate_pdf

Generate PDF

Generate a PDF document by combining a pre-defined template with JSON data. Returns a URL to the generated PDF hosted on a CDN. Supports password protection, configurable PDF standards, image resampling, and custom expiration times. You can also load data from an external URL instead of passing it inline.

fill_pdf_fields

Fill PDF Form Fields

Fill in fillable form fields in an existing PDF document. Supports text boxes, checkboxes, dropdown menus, and other standard PDF form components. Optionally lock fields as read-only after filling.

get_template

Get Template

Retrieve detailed information about a specific CraftMyPDF template, including its structure, sample JSON data, and metadata. Optionally retrieve a specific version.

list_transactions

List Transactions

List PDF generation transactions for tracking and auditing. Returns transaction history including credits consumed, operations performed, and file URLs.

get_account_info

Get Account Info

Retrieve CraftMyPDF account details including account name, remaining credits, team information, and subscription level.

create_template

Create Template

Create a new PDF template by cloning an existing one. The new template will be a copy of the source template that can be independently modified.

list_templates

List Templates

Retrieve all available PDF templates from your CraftMyPDF account. Supports pagination and filtering by group name.

delete_template

Delete Template

Permanently delete a CraftMyPDF template. This action cannot be undone.

merge_pdfs

Merge PDFs

Merge multiple PDFs into a single document. Supports two modes: - **By URL**: Combine existing PDF files by providing their URLs. - **By Template**: Generate PDFs from multiple templates with their own data and merge them into one document. Use "pdfUrls" for URL-based merging, or "templates" for template-based merging.

add_watermark

Add Watermark

Add a text watermark to an existing PDF document. Configure font size, opacity, rotation angle, color, and font family for the watermark overlay.

create_editor_session

Create Editor Session

Create a white-label editor session for embedding the CraftMyPDF template editor in an iframe. Returns a unique URL that can be embedded in your application. Configure permissions to control what the user can do in the embedded editor (save, generate PDF, preview, edit JSON, etc.).

More integrations teams use with Craftmypdf

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs. Listen for webhooks on page, blog, comment, attachment, space, label, and user events.

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles. Receive real-time webhook notifications for page changes, new pages, comments, and database schema updates.

Google Sheets

Create, read, and update spreadsheets and their cell data. Read and write values to individual cells, ranges, or multiple ranges using A1 notation or named ranges. Apply cell formatting including text styles, backgrounds, borders, number formats, and conditional formatting. Manage sheets (tabs) within a spreadsheet—add, delete, copy, rename, and reorder them. Create and manage embedded charts, pivot tables, filter views, data validation rules, protected ranges, named ranges, and merged cells. Perform batch operations to apply multiple updates atomically. Monitor spreadsheet changes via Google Drive push notifications.

Google Drive

Upload, download, create, copy, move, rename, trash, and permanently delete files and folders in Google Drive. Search for files using complex queries filtering by name, MIME type, owner, modification date, labels, and other metadata. Share files and folders with specific users, groups, or domains with role-based permissions (owner, writer, commenter, reader). Manage shared drives and their members. Export Google Workspace files (Docs, Sheets, Slides) to standard formats like PDF, DOCX, and XLSX. Track file revision history and restore earlier versions. Create, read, update, and delete threaded comments and replies on files. Apply and read custom labels on files. Monitor file and folder changes via push notifications or webhook subscriptions. Store app-specific data in a hidden per-user folder.

Google Slides

Create, read, edit, and delete Google Slides presentations. Create and manipulate slides with predefined or custom layouts. Insert, style, and replace text across slides, including bulk placeholder replacement for template-based generation. Add and position shapes, text boxes, lines, and images. Embed and refresh charts linked to Google Sheets. Manage speaker notes, duplicate or reorder slides, and perform batch updates combining multiple operations in a single call. Supports automated report and deck generation using templates with placeholder text and image substitution.

Technical notes for Craftmypdf

Generate PDF documents and images (JPEG/PNG) from reusable templates and JSON data. Create PDFs synchronously or asynchronously with webhook callbacks. Merge multiple templates or PDF URLs into a single document. Add watermarks to existing PDFs. Manage PDF templates programmatically—list, create, update, and delete templates. Generate fillable PDF forms with text boxes, checkboxes, dropdowns, radio buttons, and signature fields. Configure output options including password protection, CMYK color profiles, PDF standards (PDF/A), and cloud storage integration. Create embeddable editor sessions for white-label template editing. Retrieve account details and transaction history.

Connect Craftmypdf to production AI agents

See how Metorial gives Craftmypdf access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Craftmypdf to AI agents with Metorial.

  1. Can Metorial connect Craftmypdf to AI agents?
    Yes. Metorial connects AI agents to Craftmypdf through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.