jar_hex_edit
Patch game binaries by writing raw bytes at a specific offset in a file, enabling precise hex edits for modding.
Instructions
Write raw bytes at a specific offset in a file.
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>",
"class_path": "<class_path>",
"offset": "<offset>",
"hex_data": "<hex_data>"
},
"name": "jar_hex_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | Yes | Byte offset | |
| hex_data | Yes | Hex string to write | |
| class_path | Yes | Path to file | |
| session_id | Yes | Session ID |