jar_list
List archive entries filtered by glob and file type to locate classes, configuration, or nested jars inside Java archives without extraction.
Instructions
List entries in an archive, filtered by glob and kind.
Prefer this over unzip -l. Use kind='text' to find configuration,
kind='archive' to find jars bundled inside a fat jar.
Args:
jar: Archive path, classes directory, or outer.jar!nested.jar.
pattern: Comma-separated globs matched against the entry path, e.g.
META-INF/* or *.properties. Empty matches everything.
kind: One of all, class, source, text, binary, archive.
limit: Maximum entries to return.
offset: Entries to skip, for paging.
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": {
"jar": "<jar>"
},
"name": "jar_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jar | Yes | ||
| kind | No | all | |
| limit | No | ||
| offset | No | ||
| pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |