read_archive_entry
Extract and read the text contents of a specific file entry within an archive, supporting ZIP, TAR, and TAR.GZ formats.
Instructions
Read the text contents of a file entry inside an archive (ZIP, TAR, 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>",
"entryPath": "<entryPath>"
},
"name": "read_archive_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archivePath | Yes | Relative path to the archive file. | |
| entryPath | Yes | Path of the entry within the archive. | |
| maxBytes | No | Maximum bytes to read from the entry (default: server limit). |