Connect API 2 Pdf to AI agents

Connect API 2 Pdf 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

extract_pdf_data

Extract PDF Data

Extract structured data from a PDF document. Supports extraction as JSON, Markdown, or HTML. Useful for automated content processing, indexing, and data extraction from PDF files.

capture_screenshot

Capture Screenshot

Capture a screenshot image of a website URL, raw HTML content, or Markdown using Headless Chrome. Supports full-page captures, custom viewports, mobile simulation, and delayed rendering. Returns a URL to download the generated image.

convert_to_markdown

Convert to Markdown

Convert a document file to Markdown format using Markitdown. Accepts any file type URL and produces a Markdown representation. Useful for extracting readable text content from various document formats.

watermark_pdf

Watermark PDF

Add a text watermark to an existing PDF document. Configure the watermark text, font size, color, opacity, and rotation angle. Useful for marking documents as drafts, confidential, or with custom branding.

extract_pdf_pages

Extract PDF Pages

Extract a specific range of pages from an existing PDF document. Specify start and end page numbers (0-indexed) to create a new PDF with only those pages. Supports negative indexing (e.g., -1 for the last page).

create_zip

Create ZIP Archive

Compress multiple files into a single ZIP archive. Provide URLs to the files to include and optionally specify custom file names within the archive.

check_balance

Check Balance

Check the remaining credit balance on the API2PDF account associated with the current API key.

protect_pdf

Protect PDF

Add password protection to an existing PDF document. Set a user password (required to open the document) and optionally an owner password (required to change permissions). Useful for compliance and customer-facing delivery.

delete_file

Delete File

Delete a previously generated file from API2PDF servers. By default files are auto-deleted after 24 hours, but this tool allows immediate deletion for high-security use cases. Use the responseId returned from the original generation request.

convert_document

Convert Document

Convert documents between formats using LibreOffice. Supports converting Word, PowerPoint, Excel, images, and other file types to PDF. Also supports converting HTML to Word (DOCX), HTML to Excel (XLSX). Provide a publicly accessible URL to the source file.

generate_pdf

Generate PDF

Generate a PDF document from HTML content, a publicly accessible URL, or Markdown text using Headless Chrome. Supports configurable page layout, headers/footers, margins, page size, and other Chrome PDF options. Returns a URL to download the generated PDF.

generate_thumbnail

Generate Thumbnail

Generate a thumbnail image preview from a PDF, Office document, or email file. Creates an image of the first page, useful for previews, galleries, and document listings.

merge_pdfs

Merge PDFs

Combine multiple PDF documents into a single PDF file. Provide URLs to the PDF files to be merged. The PDFs are merged in the order provided.

generate_barcode

Generate Barcode

Generate a barcode or QR code image. Supports multiple barcode formats including QR_CODE, CODE_39, CODE_128, EAN_13, UPC_A, and more. Returns a URL to download the generated barcode image.

check_status

Check Status

Check the API2PDF service health status endpoint. Use this to distinguish account or request issues from a broader API availability problem.

More integrations teams use with API 2 Pdf

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 API 2 Pdf

Generate PDFs from HTML, URLs, and Markdown. Convert Microsoft Office documents, images, and email files to PDF. Capture screenshots of websites and HTML content. Merge multiple PDFs, extract specific page ranges, and reorder pages. Password-protect PDFs for secure delivery. Generate barcodes and QR codes. Create thumbnail previews for PDFs, Office documents, and email files. Extract structured data from PDFs. Convert HTML to Word (DOCX) and Excel (XLSX). Compress files into ZIP archives. Delete generated files on demand.

Connect API 2 Pdf to production AI agents

See how Metorial gives API 2 Pdf access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting API 2 Pdf to AI agents with Metorial.

  1. Can Metorial connect API 2 Pdf to AI agents?
    Yes. Metorial connects AI agents to API 2 Pdf 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.