PDF ツール
Merge PDF
merge-pdf
Use Merge PDF through the Zavilo SDK. Check input limits, parameters, output and supported modes below.
H · Headless
クイック操作
入力ファイル 2–30出力ファイル 1
入力
この Tool が受け付ける入力形式とファイル数です。
| 入力種類 | file |
|---|---|
| ファイル数 | 2 – 30 |
| 対応 MIME | application/pdf |
パラメータ
これらの値は request.options で渡します。
| パラメータ | 型 | 必須 | 既定値 | 許可値 / 範囲 | 説明 |
|---|---|---|---|---|---|
| なし | |||||
出力
処理完了後に返される結果形式です。
| 型 | files |
|---|---|
| ファイル数 | 1 – 1 |
| 出力 MIME | application/pdf |
| Metadata | inputCount, totalPages, inputBytes, outputBytes |
| ZIP アーカイブ | 非対応 |
基本例
対応する統合モードを確認し、生成された開始コードをコピーできます。
Headless
const result = await client.run("merge-pdf", {
files: selectedFiles
});
console.log(result.files, result.data, result.metadata);
Embedded
await client.mount({ tool: "merge-pdf", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.