generate_sprite_hitboxes
Converts sprite geometry into a deterministic collision manifest, selecting component or union hitboxes with bounded padding.
Instructions
Generate a deterministic collision manifest from sprite geometry using component or union hitboxes with bounded padding.
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": {
"filename": "<filename>",
"output_filename": "<output_filename>"
},
"name": "generate_sprite_hitboxes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | components | |
| padding | No | ||
| filename | Yes | ||
| output_filename | Yes | ||
| min_component_pixels | No |