roku_debug_execute
Run BrightScript code in a paused debug session to inspect variables, read m properties, and query scene graph nodes.
Instructions
Execute BrightScript code in the context of a stopped stack frame. This is the 'Run in Console' equivalent from VS Code. Use for reading m properties, querying node children, etc.
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": {
"source_code": "<source_code>"
},
"name": "roku_debug_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame_index | No | ||
| source_code | Yes | ||
| thread_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |