Sb3 Vm Poke
sb3_vm_pokeModify live Scratch VM state mid-wave for fault injection. Set variables, lists, and sprite properties (position, direction, size, visibility, costume) to simulate failures.
Instructions
Set live VM state (fault injection mid-wave). (proxied)
Each arg is a JSON array string: variables entries
{target?, name, value}, lists entries {target?, name, items},
sprites entries {target, x?, y?, direction?, size?, visible?, costume?}. Unknown target/variable/list/costume is an error.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sb3_vm_poke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lists | No | ||
| sprites | No | ||
| variables | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |