check_photo_requirements
Check a photo's measurements against a spec: aspect ratio, pixel limits, head height share and file size/format. Does not look at the image itself; for a full check use the free checker at page_url.
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": {
"spec_id": "<spec_id>",
"width_px": "<width_px>",
"height_px": "<height_px>"
},
"name": "check_photo_requirements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_kb | No | ||
| spec_id | Yes | Spec id from list_photo_specs, e.g. us-passport. | |
| width_px | Yes | ||
| height_px | Yes | ||
| file_format | No | jpg, png, heic... | |
| head_height_px | No | Chin to crown in pixels. |