Tools

Merge PDF

Combine 2 or more PDFs, in the order given, into one new PDF. There is no upper limit on the number of files.

Same tool as the MCP server's pdf_merge. Runs before responding; for long work, POST /v1/jobs instead.

post/v1/tools/pdf_merge

Request

  • Base URL: http://127.0.0.1:7341
  • URL: http://127.0.0.1:7341/v1/tools/pdf_merge
  • Auth: HTTP bearer

Request body

inputsstring[] required

PDF paths in the order to combine.

outputstring required

Path for the new PDF, inside an allowed folder. Must not exist yet; superPDF never overwrites files.

Response

The result. Any new files are written inside the allowed folders.

outputstring required
pagesinteger required
bytesinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.