Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

merge-pdf

bởi crossservicesolutions

Coding Agents & IDEs
959Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Merge multiple user-provided PDF files by uploading them to Cross-Service-Solutions, polling until completion.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Merge these three PDFs: invoice.pdf, terms.pdf, signature.pdf

AGENT
  1. 1

    Accepts the three PDF files and the user's API key

  2. 2

    Sends a POST request to /api/30 with the files as multipart/form-data

  3. 3

    Receives a job ID from the response

  4. 4

    Polls GET /api/<ID> until status indicates completion

  5. 5

    Extracts the download URL from output.files[].path

ĐẦU RA

{"job_id":456,"status":"done","download_url":"https://.../merged.pdf","file_name":"merged.pdf","input_files":["invoice.pdf","terms.pdf","signature.pdf"]}

Yêu cầu

  • Cross-Service-Solutions API key (obtain at https://login.cross-service-solutions.com/register)

Cài đặt

clawhub install crossservicesolutions/merge-pdf

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết