merge-pdf
由 crossservicesolutions 提供
Coding Agents & IDEs简介
Merge multiple user-provided PDF files by uploading them to Cross-Service-Solutions, polling until completion.
描述
该技能的功能
Merges multiple PDF files into a single document using the Cross-Service-Solutions API. Uploads files, polls for job completion, and returns a download URL for the merged result. File order in the output matches the order provided.
Handles the upload-poll-download cycle automatically, so users get a ready-to-use URL without manually managing API state.
何时使用
- Combining monthly report pages into one PDF
- Merging scanned contract pages before sending
- Assembling multi-chapter documents from separate exports
- Joining invoice PDFs for accounting submission
- Consolidating presentation handouts into a single file
示例工作流
User asks: Merge these three PDFs: invoice.pdf, terms.pdf, signature.pdf
- 1
Accepts the three PDF files and the user's API key
- 2
Sends a POST request to /api/30 with the files as multipart/form-data
- 3
Receives a job ID from the response
- 4
Polls GET /api/<ID> until status indicates completion
- 5
Extracts the download URL from output.files[].path
{"job_id":456,"status":"done","download_url":"https://.../merged.pdf","file_name":"merged.pdf","input_files":["invoice.pdf","terms.pdf","signature.pdf"]}
前置要求
- Cross-Service-Solutions API key (obtain at https://login.cross-service-solutions.com/register)
安装
clawhub install crossservicesolutions/merge-pdf运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。