read_registers
Retrieve the 6502 register state (A, X, Y, S, PC, cycles, flags) from an active BBC Micro emulator session.
Instructions
Return 6502 register state.
Returns a dict with keys A, X, Y, S, PC, cycles
as integers, and F as an 8-character flag string from
beebjit's debugger (each flag position shows an upper-case
letter when set, a space otherwise).
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>"
},
"name": "read_registers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||