Read script events
read_scriptRetrieve structured script events from a GB Studio project by specifying the owner and script key. Each event includes id, command, args, and optional children for composite actions.
Instructions
Return the ScriptEvent[] for a given owner and key. Each event has shape { id, command, args?, children? } where children is a Record<branchName, ScriptEvent[]> for composite events (if/switch/group). See the gbvm-scripting skill for command semantics.
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": {
"locator": "<locator>"
},
"name": "read_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locator | Yes |