scratchjr_add_svg_asset
Add custom characters or backgrounds to ScratchJr projects using static SVG. Provide SVG with matching viewBox; backgrounds should be 480×360. Returns an md5 asset name usable in projects.
Instructions
Add a custom character or background using static SVG geometry. Use SVG with a matching viewBox; backgrounds should be 480×360. Returns an md5 asset name usable in projects.
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>",
"kind": "<kind>",
"svg": "<svg>",
"width": "<width>",
"height": "<height>"
},
"name": "scratchjr_add_svg_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | Yes | ||
| kind | Yes | ||
| name | Yes | ||
| width | Yes | ||
| height | Yes |