preview_memory_patch
Preview a memory patch of up to 64 bytes without writing. Compare expected bytes at a given address to verify the change before applying.
Instructions
Compare expected bytes and preview a patch of at most 64 bytes without writing.
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": {
"editSessionId": "<editSessionId>",
"address": "<address>",
"expectedHex": "<expectedHex>",
"replacementHex": "<replacementHex>"
},
"name": "preview_memory_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | 64-bit address as a 0x-prefixed hex string | |
| expectedHex | Yes | ||
| editSessionId | Yes | ||
| replacementHex | Yes |