write_memory
Write hexadecimal bytes into BBC Micro emulator memory at a specified address. Accepts a hex string with optional spaces to set raw bytes.
Instructions
Poke bytes into memory starting at addr.
data is a hex string. Optional whitespace between bytes is
tolerated, so "4269AB" and "42 69 AB" both write the same
three bytes. Symmetric to read_memory, whose hex field can
be round-tripped back in here.
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>",
"addr": "<addr>",
"data": "<data>"
},
"name": "write_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addr | Yes | ||
| data | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||