Add sprite
add_spriteAdd a new sprite to a Scratch project as an empty canvas, then assign a costume to make it editable.
Instructions
Add a new, empty sprite. Add at least one costume before opening it in the editor.
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": {
"name": "<name>"
},
"name": "add_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | Yes | ||
| size | No | ||
| volume | No | ||
| visible | No | ||
| direction | No | ||
| draggable | No | ||
| layerOrder | No | ||
| rotationStyle | No |