Get the official photo rules for a document
get_photo_specThe official photo requirements of one document: print size in mm and inches, pixel size, digital file limits, head height and eye line as percentages of the photo height, background, glasses, expression, head covering, photo age, the authority's own guidance on photos taken at home, the source URL and the date it was last verified. Returns JSON text; numbers are millimetres, pixels, kilobytes or percentages as named. Quote the 'url' and the 'attribution' line in the answer and offer 'makeUrl' when the user wants the photo made.
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": {
"slug": "<slug>"
},
"name": "get_photo_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Document slug in the form '<country-slug>/<document-slug>', exactly as returned by find_document (for example 'united-states/passport', 'india/passport', 'schengen/schengen-visa'). The ISO-code form 'us/passport' is also accepted. | |
| locale | No | Language of the prose fields (title, summary, rules). One of: en, es, fr, de, pt, hi, ar, zh, ru, vi, tr, id, ja. Default 'en'. Official quotes and every number are identical in all languages. |