Project pictures and Sprite Lab assets
project_assetsList pictures, sizes, previews; import My Files pictures, an attachment, a URL or files you made (upload), bake Sprite Lab assets, crop parts. One undo step.
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_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ChatGPT PNG/JPEG/WebP attachment, at most 5 MiB. For another client, use fromFiles, urls or images. | |
| name | No | Name for the attached file; defaults to its filename. | |
| urls | No | Public https PNG/JPEG/WebP image URLs, at most 5 MiB each, fetched by BoneGyre's server — only from these hosts: upload.wikimedia.org, raw.githubusercontent.com, user-images.githubusercontent.com, i.imgur.com, images.unsplash.com, images.pexels.com, cdn.pixabay.com, opengameart.org, img.itch.zone. For another host, ask the user to upload it to My Files and use fromFiles. | |
| crops | No | Rectangular image parts in source pixels, top-left origin, y down; transparency preserved. Use $ref for keyed movement or $warp for mesh deformation of each part. | |
| names | No | With fromFile: the pictures to copy (1–12, by their names in that project). With uploads or paths: their asset names, one each in the same order. Otherwise: only list/preview these asset names. | |
| paths | No | Local server only (npm run mcp, on the user's machine): absolute paths of PNG/JPEG/WebP files to import, ≤ 5 MiB each, 9 MiB together; named after the files. The remote server refuses it — use upload there. | |
| study | No | Import the selected Gallery study’s required pictures using this account’s Gallery access. Read the project again before building. | |
| images | No | ||
| upload | No | Pictures you made in your own workspace, step 1 of 2 (needs a shell): answers a curl per picture that PUTs the file from your shell to a signed URL. Pass it alone; no editor needed. PNG/JPEG/WebP, ≤ 5 MiB each, 12 a call; import within 10 minutes with uploads. | |
| recipes | No | With names: each named Sprite Lab asset's recipe as the labSprites entry that makes it, its custom shader included — change it and send it back in labSprites instead of writing the sprite again. | |
| uploads | No | Step 2: the upload ids the upload answer gave, once their curl ran — the pictures come into the project, checked, as one undo step (9 MiB together). names renames them, in order. | |
| fromFile | No | A My Files project id (list_files): copy its pictures named in names into the open project, Sprite Lab recipes kept. | |
| fromFiles | No | My Files picture ids (list_files { pictures: true }): each comes in as an image or a sequence asset, as Add files in the Project panel keeps it. At most 12 and 12 MiB a call. | |
| labSprites | No | Same recipes as build_effect.spec.labSprites. Baked assets and editable recipes stay in the Project panel even without layers. | |
| thumbnails | No | Include the first 12 asset previews. |