extract_archive
Extract compressed archives (.zip, .tar, .tar.gz, .bz2) into a specified destination directory to unpack files for cPanel hosting tasks.
Instructions
Extract a compressed archive (.zip, .tar, .tar.gz, .bz2) into a destination directory
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": {
"archive_path": "<archive_path>",
"destination_dir": "<destination_dir>"
},
"name": "extract_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive_path | Yes | Path to the archive file (e.g. public_html/app.zip) | |
| destination_dir | Yes | Destination directory to extract into (e.g. public_html/app) |