measure_text
Measure a text run's dimensions in Aseprite without modifying the sprite. Specify font, size, and spacing to preview layout for pixel art.
Instructions
Measure a text run without changing a sprite.
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": {
"text": "<text>",
"font": "<font>"
},
"name": "measure_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | ||
| font | Yes | ||
| size | No | ||
| text | Yes | ||
| antialias | No | ||
| letter_spacing | No |