compress_tar
Create a TAR archive from specified files with optional gzip or bzip2 compression.
Instructions
Create a TAR archive from files.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"files": "<files>",
"output_path": "<output_path>"
},
"name": "compress_tar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | List of file paths to compress | |
| output_path | Yes | Path for output TAR file | |
| compression | No | Compression type - "none", "gz", or "bz2" (default: "gz") | gz |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |