Split a sprite sheet into individual PNGs
split_spritesheetCut a packed sprite sheet / texture atlas into separate transparent PNGs, returned as a zip. Give rows and cols for a uniform grid, or omit them to auto-detect sprites by transparent gaps.
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": {
"url": "<url>"
},
"name": "split_spritesheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public URL of the sprite sheet image. | |
| cols | No | Grid columns. | |
| rows | No | Grid rows. Omit together with cols to auto-detect. | |
| margin | No | Pixels to trim inside each grid cell (for sheets with padding). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||