Rename target
rename_targetRename any sprite or the stage in a Scratch project by specifying the current name and the new name.
Instructions
Rename a sprite (or the stage).
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>",
"newName": "<newName>"
},
"name": "rename_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| newName | Yes |