Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mgba_run | Run a GB/GBC/GBA ROM for a specified number of frames and capture a screenshot |
| mgba_read_memory | Read memory at specified addresses after running for some frames |
| mgba_read_range | Read a contiguous range of memory addresses |
| mgba_dump_oam | Dump OAM (Object Attribute Memory) sprite data - shows all 40 sprites with position, tile, flags, and palette |
| mgba_dump_entities | Dump entity/actor data from WRAM - useful for analyzing game objects |
| mgba_run_lua | Run a custom Lua script in the emulator. The script can use emu:read8(), emu:write8(), emu:screenshot(), callbacks:add(), etc. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |