Sb3 Set Variable
sb3_set_variableCreate or update a variable with a given name and value on a target, enabling dynamic state changes in Scratch projects.
Instructions
Set/create a variable on a target. (proxied)
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": {
"target": "<target>",
"name": "<name>"
},
"name": "sb3_set_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| value | No | ||
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |