すべての Tool›Archive Tool
開発者ツール

Archive Tool

archive-tool

Use Archive Tool through the Zavilo SDK. Check input limits, parameters, output and supported modes below.

H · HeadlessE · Embedded
Tool IDarchive-tool
バージョン1
実行方式CLIENT
対応モードHeadless, Embedded

クイック操作

入力ファイル 1–100出力ファイル 1–100

入力

この Tool が受け付ける入力形式とファイル数です。

入力種類file
ファイル数1 – 100
対応 MIME*/*

パラメータ

これらの値は request.options で渡します。

パラメータ 型 必須 既定値 許可値 / 範囲 説明
action enum 任意 create create | extract Create or extract ZIP.

出力

処理完了後に返される結果形式です。

型files+data
ファイル数1 – 100
出力 MIMEapplication/zip, application/octet-stream
Metadatacount, action
ZIP アーカイブ非対応

基本例

対応する統合モードを確認し、生成された開始コードをコピーできます。

Headless

const result = await client.run("archive-tool", {
  files: selectedFiles,
  options: { action: "create" }
});
console.log(result.files, result.data, result.metadata);

Embedded

await client.mount({ tool: "archive-tool", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.