java_class_content
Retrieve source code of classes from third-party JARs using jdt:// URIs to inspect decompiled or dependency code.
Instructions
Fetch the source code for a class located inside a third-party jar (handles jdt:// URIs).
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": {
"workspacePath": "<workspacePath>",
"uri": "<uri>"
},
"name": "java_class_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | The jdt:// URI returned by definition/reference tools. | |
| workspacePath | Yes |