Set list
set_listCreates or replaces a named list on a Scratch target with specified items, allowing programmatic control over list data for sprites or the stage.
Instructions
Create or replace a list on a target by name.
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>",
"items": "<items>"
},
"name": "set_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| items | Yes | ||
| target | Yes |