extract_jar_resource
Extract text resources from Maven JAR files, such as .proto files, service descriptors, or metadata, by specifying Maven coordinates and resource patterns.
Instructions
Extract text resources from a jar, such as .proto files, service descriptors, or metadata
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": {
"group_id": "<group_id>",
"artifact_id": "<artifact_id>",
"version": "<version>"
},
"name": "extract_jar_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum matching resources to return | |
| version | Yes | Maven version | |
| group_id | Yes | Maven group ID | |
| max_bytes | No | Maximum bytes to read per resource | |
| artifact_id | Yes | Maven artifact ID | |
| resource_path | No | Exact resource path inside the jar | |
| resource_pattern | No | Regex pattern to match resource paths |