Remove every script from a target
clear_scriptsDelete all script blocks from a selected sprite or the Stage, leaving costumes and sounds intact.
Instructions
Deletes all blocks on a sprite or the stage, leaving costumes and sounds alone.
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": "clear_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Sprite name, or "Stage" |