360 Secure SkillHub
360 安全技能中心

Merge PDF

核心功能:将用户提供的多份PDF按上传顺序合并,通过Cross-Service-Solutions(XSS)API完成任务创建、状态轮询,最终返回合并后PDF的下载链接。典型场景:用户需合并多份文档、报告等PDF文件时使用。输入需至少1份PDF文件及XSS平台API密钥(可注册获取),输出为含任务ID、状态、下载链接等的结构化结果。

crossservicesolutions
crossservicesolutions
热度 90.92
最近更新 2026-05-11 15:54:37
分类:效率依赖:第三方 API / 读写文件应用场景:文件转换

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add merge-pdf
Metadata
name
merge-pdf
description
Merge multiple user-provided PDF files by uploading them to Cross-Service-Solutions, polling until completion, then returning a download URL for the merged PDF.
license
MIT
compatibility
{"agentskills":">=0.1.0"}
metadata
{"category":"document-processing","tags":["pdf","merge","cross-service-solutions"],"provider":"Cross-Service-Solutions (XSS)"}
allowed-tools
["http","files"]

merge-pdf-files

Purpose

This skill merges multiple PDFs by:

  1. accepting multiple PDF files from the user,
  2. uploading them to the Cross-Service-Solutions merge API,
  3. polling the job status until it is finished,
  4. returning the merged PDF download URL.

Credentials

The API requires an API key used as a Bearer token:

  • Authorization: Bearer <API_KEY>

How the user gets an API key:

Rule: never echo or log the API key.

API endpoints

Base URL:

  • https://api.xss-cross-service-solutions.com/solutions/solutions

Create merge job:

  • POST /api/30
  • multipart/form-data parameters:
    • files (PDF Dokument) — required — multiple PDF files (multiple_files)

Get result by ID:

  • GET /api/<ID>

When done, the response contains:

  • output.files[] with { name, path } where path is a downloadable URL.

Inputs

Required

  • One or more PDF files (binary)
  • An API key (string)

Optional

  • None (ordering is determined by the provided file list order)

Output

Return a structured result:

  • job_id (number)
  • status (string)
  • download_url (string, when done)
  • file_name (string, when available)
  • input_files (array of strings)

Example output:

{
  "job_id": 456,
  "status": "done",
  "download_url": "https://.../merged.pdf",
  "file_name": "merged.pdf",
  "input_files": ["a.pdf", "b.pdf", "c.pdf"]
}