kb_define_variable
Defines or updates a named RAM variable at a specific Game Boy address with type u8, u16, bool, or enum, enabling annotated memory inspection and code understanding.
Instructions
Name a RAM variable at the given address.
Type must be one of: u8, u16, bool, enum. UPSERT on address.
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": {
"address": "<address>",
"name": "<name>",
"type": "<type>"
},
"name": "kb_define_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | ||
| address | Yes | ||
| description | No |