jar_search
Search inside Java archives without extraction to find property keys, bean names, SQL fragments, or log messages using literal queries or regex.
Instructions
Grep text and source entries inside an archive, returning matching lines.
Use it to find a property key, a bean name, an SQL fragment or a log
message without extracting anything. With include_class_strings=True it
also searches string constants compiled into .class files.
Args:
jar: Archive path, classes directory, or outer.jar!nested.jar.
query: Literal text, or a Python regular expression when regex=True.
regex: Treat query as a regular expression.
ignore_case: Case-insensitive matching.
path: Comma-separated globs limiting which entries are searched.
include_class_strings: Also search string constants inside .class files.
limit: Maximum matches to report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jar | Yes | ||
| path | No | ||
| limit | No | ||
| query | Yes | ||
| regex | No | ||
| ignore_case | No | ||
| include_class_strings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |