jar_read_entry
Read a text entry from a Java archive directly, such as a MANIFEST, XML, or config file, without extracting the JAR. Supports line ranges and describes binary entries instead of dumping them.
Instructions
Read one text entry from an archive: MANIFEST, service files, XML, config.
Prefer this over unzip -p. Binary entries are described, not dumped.
Args:
jar: Archive path, classes directory, or outer.jar!nested.jar.
entry: Exact entry path, e.g. META-INF/spring.factories.
start_line: 1-based first line to show.
line_count: How many lines to show.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jar | Yes | ||
| entry | Yes | ||
| line_count | No | ||
| start_line | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |