jdx_resources
List non-class resource paths in workspace jars and print a unique matching resource's text contents to inspect META-INF, properties, or versioned copies.
Instructions
List non-class resource paths across the workspace jars (META-INF, .properties, versioned META-INF/versions/… copies, …). Omit query to list every resource; with a query, match the entry path. Pass cat=true to print the unique match's text contents (binary payloads refuse to dump bytes; ambiguous matches exit 2). maxLines caps --cat text lines (default 200).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "jdx_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in | No | Only matches from artifacts whose label matches this glob. | |
| cat | No | Print the unique matching resource's text instead of listing paths. Requires a query; exits 2 when more than one path matches. | |
| limit | No | Maximum rows shown (default 50); the rest become a truncation footer. | |
| query | No | Optional subject: package glob (ls), artifact glob (tree), service/provider substring (services), or module/package/service substring (modules). Empty lists everything. | |
| regex | No | Treat query as a Java regex. | |
| exclude | No | Skip matches from artifacts whose label matches this glob. | |
| maxLines | No | Maximum text lines shown under cat=true (default 200). | |
| 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). |