read_resource
Read an exact text resource from a JAR with safe line pagination, rejecting binary resources for reliable source inspection.
Instructions
Read an exact text resource with safe line pagination. Binary resources are rejected.
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": {
"resourcePath": "<resourcePath>"
},
"name": "read_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| format | No | Output format. | text |
| offset | No | ||
| jarPath | No | Absolute path to an exact JAR. Fastest selector. | |
| coordinates | No | groupId:artifactId[:version[:classifier]]. | |
| jarDirectory | No | Absolute directory to search for a JAR on demand. | |
| resourcePath | Yes | ||
| jarNamePrefix | No | JAR basename prefix. | |
| workspacePath | No | Absolute Java workspace path. Maven is optional. |