extract_archive
Extract files from compressed archives to a specified directory, with support for password-protected archives and configurable overwrite behavior.
Instructions
解压文件到指定目录(默认解压到沙盒目录)
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": {
"archivePath": "<archivePath>"
},
"name": "extract_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archivePath | Yes | 压缩文件的绝对路径 | |
| targetDir | No | 解压目标目录(相对于沙盒目录) | |
| password | No | 解压密码(如果加密) | |
| overwrite | No | 文件覆盖策略 | overwrite |