jar_read_file
Read a text file from inside a JAR archive to inspect Java game configs, resource files, or embedded data during modding. Supply a session ID and the file path within the JAR.
Instructions
Read a text file from the JAR.
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": {
"session_id": "<session_id>",
"file_path": "<file_path>"
},
"name": "jar_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | File path within JAR | |
| session_id | Yes | Session ID |