跳到正文
TakoAPI
返回技能列表

merge-pdf

由 crossservicesolutions 提供

Coding Agents & IDEs
959下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 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

输出

{"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 或你在用的任意编程智能体里。

链接