cpu.write_memory
Write bytes to a CPU memory address in an active emulator session to modify game state for debugging and testing.
Instructions
cpu.write_memory
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": "<session>",
"memoryType": "<memoryType>",
"address": "<address>",
"bytes": "<bytes>"
},
"name": "cpu.write_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| address | Yes | ||
| session | Yes | ||
| memoryType | Yes |