jar_edit_file
Modify a text file within a JAR archive using session ID, file path, and new content to patch game resources without full extraction.
Instructions
Edit a text file within 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>",
"new_content": "<new_content>"
},
"name": "jar_edit_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | File path within JAR | |
| session_id | Yes | Session ID | |
| new_content | Yes | New file content |