Docs/Skills/PDF Merge

PDF Merge

Combine several PDFs into one

OperationalCredits 10 per callp50 136msDocuments

Overview

Pages are copied whole, so text, images, fonts and page sizes are kept as they were. Each call accepts up to 10 PDFs, 10 MB each and 25 MB in total, with at most 500 pages in the merged file. Encrypted PDFs are rejected; remove the password first.

Live Test PDF Merge Skill →

The tool

Once your client is connected to the VerveKit server, this appears in its tool list as PDFMerge. It is read-only and open-world — it fetches and never mutates anything on your side — so most clients call it without asking you to confirm.

Tool call
{
  "name": "PDFMerge",
  "arguments": {}
}

Connecting

One server URL covers every skill in the catalog, including this one. Authorization is OAuth: the client opens a browser once, and there is no key to paste into a config file.

{
  "mcpServers": {
    "vervekit": {
      "url": "https://api.vervekit.com/v1/mcp"
    }
  }
}

Per-client setup — Claude, Cursor, VS Code, ChatGPT — is on the MCP setup page.

Arguments

These are the properties on the tool's inputSchema, so a well-behaved client validates them before the call is made. Premium arguments are accepted on every plan but only take effect on plans that include them.

ArgumentTypeDescription
urlsOptionalarrayA JSON array of 2 to 10 public PDF URLs, merged in order. Or upload the PDFs as multipart files instead

What the model gets back

The result carries a structuredContent object matching the tool's declared outputSchema, so a client reads fields without parsing prose. status is "ok" and error is null on success; a null field means the value was not available for that input, not that the call failed.

Result
{
  "status": "ok",
  "error": null,
  "data": {
    "pdfName": "a356acc9-c44f-4363-9cda-14ed160d5f5d.pdf",
    "fileCount": 2,
    "pageCount": 5,
    "size": 13539,
    "expires": 1792230036453,
    "downloadURL": "https://storage.googleapis.com/apiverve/APIData/pdfmerge/a356acc9-c44f-4363-9cda-14ed160d5f5d.pdf?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1792230036&Signature=R5%2B9%2FIKgsCiWQ7ibAS4Z%2B%2FLpYbNYc7hbAQGI%2FUtvmietXWHJxZK9x4%2FYYdLR6OXAVfvasiSNV2S8iie1Hz7xBGlTJMN8db%2BJ2tkE7GTnOXItMqMU8nuB0z6eddkoQmBESG8EOBr3AEG4x7XaEmP47FqUFsWoikKL2yhwZ9VHL%2F5ANZbvYnfbY1WBjVVOY4wQE1T6CDHM6En2Ov%2FzbTUENH7dasoIaJKWCXa7b1hBhc5MLOMB0MUQWRjb3cVoTHkZ1IRKh3InOdUduyORXOJpwLBTfLu6Q7%2FMEASTXd2j1N9F3OSJ7LYpOfiVhSvA%2FIW6CT2srzKniP5KgeX%2BYKTnNQ%3D%3D",
    "sources": [
      {
        "index": 1,
        "name": "rotation.pdf",
        "pageCount": 2,
        "startPage": 1,
        "endPage": 2
      },
      {
        "index": 2,
        "name": "sizes.pdf",
        "pageCount": 3,
        "startPage": 3,
        "endPage": 5
      }
    ]
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
pdfNamestringa356acc9-c44f-4363-9cda-14ed160d5f5d.pdfFile name of the merged PDF
fileCountnumber2Number of PDFs merged
pageCountnumber5Pages in the merged PDF
sizenumber13539Size of the merged PDF in bytes
expiresnumber1792230036453When the download link expires (Unix time in milliseconds)
downloadURLstringhttps://storage.googleapis.com/apiverve/APIData/pdfmerge/a356acc9-c44f-4363-9cda-14ed160d5f5d.pdf?Go…Signed link to download the merged PDF, valid for 2 days
sourcesPremiumarray[2]Each input file and the pages it occupies in the merged PDF
sources.0.indexPremiumnumber1Position of the file in the request, from 1
sources.0.namePremiumstringrotation.pdfFile name of the input
sources.0.pageCountPremiumnumber2Pages in this input
sources.0.startPagePremiumnumber1First page of this input in the merged PDF
sources.0.endPagePremiumnumber2Last page of this input in the merged PDF

Failure modes

Errors come back as tool errors carrying a sentence the model can act on, not a bare status code. Error handling covers the full list.

StatusWhat it means
400 / 422The arguments did not validate. The message names the offending one.
401The OAuth session is invalid or expired — reconnect the server.
403Blocked by a key restriction or an IP allow-list. Never a bad identity.
404This skill is not part of VerveKit. Check the catalog.
429Out of credits, or a brief rate limit. The message tells them apart.

A call costs 10 credits each time the tool actually runs; a model that reasons about the tool without calling it costs nothing.

Use cases

Document Packets
Bundle a contract, its schedules and supporting documents into one PDF for signing or archiving.
Report Assembly
Join generated report sections, cover pages and appendices into a single deliverable.
Invoice Batches
Combine a customer's invoices or statements for the month into one file to send.
Application Uploads
Merge the separate scans a user uploads into one document before storing it.

Other ways to use PDF Merge

Set up PDF Merge on VerveKit, or reach the same source a different way. Your VerveKit account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an x-api-key header, with SDKs for Node, Python and .NET.APIVerve →Reference →

More in Documents:

Was this page helpful?