list_archive
List files inside compressed archives such as 7z, zip, rar, tar, and gz. Supports password-protected archives.
Instructions
列出压缩文件中的内容(支持 7z, zip, rar, tar, gz 等格式)
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": "list_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archivePath | Yes | 压缩文件的绝对路径 | |
| password | No | 解压密码(如果加密) |