measure_padding
Measure transparent padding around sticker content to obtain bounding box, per-side padding, fill ratio, and opaque color count for read-only QA.
Instructions
Measure the transparent 'sticker' padding around the content: content
bounding box, per-side padding (left/right/top/bottom), fill ratio, and
distinct opaque color count. Read-only. Headless: pass file.
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": "measure_padding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| empty | No | ||
| canvas | No | ||
| content | No | ||
| padding | No | ||
| fillRatio | No | ||
| colorCount | No |