Project Set Thumbnail
project_set_thumbnailSet or update a published Scratch project's thumbnail image by uploading a file or using the project's stage backdrop when no file is provided.
Instructions
Set the thumbnail of a published project.
Scratch generates thumbnails in its editor, so a project uploaded through
this server keeps the grey placeholder until one is set. project_save_to_cloud
does this automatically; use this tool to change it afterwards.
With no file, the Stage's first backdrop from the latest build is used,
converted from SVG if a rasteriser is available. 480x360 suits Scratch best.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "project_set_thumbnail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Image to upload (PNG, JPEG, GIF, or SVG if a rasteriser is installed). Omit to use the project's backdrop. | |
| path | No | Project to act on. Defaults to the active project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||