merge_pdfs
Merge multiple PDF files into a single document, preserving bookmarks, links, and formatting. Pay per merge with Bitcoin Lightning.
Instructions
Merge multiple PDF files into a single document. Preserves bookmarks, links, and formatting. Returns JSON: { url } — a temporary download URL (valid ~1 hour). Minimum 2 files, no maximum. Files are concatenated in array order. 100 sats per merge regardless of file count. Use convert_file instead if you need format conversion (e.g., DOCX→PDF). Pay per request with Bitcoin Lightning — no API key, no account needed. Requires create_payment with toolName='merge_pdfs'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paymentId | Yes | Valid payment ID (must be paid) | |
| files | Yes | Array of base64-encoded PDF files (minimum 2) |
Implementation Reference
- index.js:31-31 (registration)The tool is listed as 'pdf_merge' in the TOOLS array, not 'merge_pdfs'. No handler, schema, or helper implementation exists locally; the server delegates all tool logic to the remote URL https://sats4ai.com/api/mcp.
"pdf_merge",