jdx_literals
Search string constants in JVM bytecode and .properties resource keys/values by substring or Java regex to find literals across artifacts.
Instructions
Search string constants across bytecode roots (LDC loads and String field ConstantValue) and .properties resource keys/values. Substring by default; set regex=true for a Java regex.
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": {
"query": "<query>"
},
"name": "jdx_literals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in | No | Only matches from artifacts whose label matches this glob. | |
| limit | No | Maximum rows shown (default 50); the rest become a truncation footer. | |
| query | Yes | Substring (or regex pattern) to find in string constants. | |
| regex | No | Treat query as a Java regex. | |
| exclude | No | Skip matches from artifacts whose label matches this glob. | |
| workspace | No | Named workspace to answer from (default: the workspace the server was started with). Stored workspaces only. | |
| ignoreCase | No | Case-insensitive substring match (ignored under regex; use (?i) there). |