gb_disassemble_function
Trace a Game Boy function from an entry point to its terminal instruction, stopping at return or out-of-range jump instructions to analyze ROM code.
Instructions
Trace a function from entry_point to its terminal instruction.
Stops at unconditional RET (0xC9), RETI (0xD9), or JP nn (0xC3) that jumps
outside the traced range. Safety cap: 1024 instructions. Returns error if no
ROM loaded.
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": {
"entry_point": "<entry_point>"
},
"name": "gb_disassemble_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_point | Yes |