iiif-image-fetch
Fetch IIIF images with automatic size constraints, specifying region, size, rotation, quality, and format.
Instructions
Fetch actual IIIF image data with automatic size constraints
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": {
"imageUrl": "<imageUrl>"
},
"name": "iiif-image-fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageUrl | Yes | Image API base URL (e.g., "https://example.org/iiif/image123") | |
| region | No | Image region - "full" (default), "square", "x,y,w,h", or "pct:x,y,w,h" | |
| size | No | Image size - "max" (default), "w,", ",h", "pct:n", "w,h", or "!w,h" | |
| rotation | No | Rotation - "0" (default) to "359", optionally prefixed with "!" for mirroring | |
| quality | No | Image quality - "default", "color", "gray", or "bitonal" | |
| format | No | Output format - "jpg" (default), "png", "webp", "tif", "gif", or "pdf" | |
| maxDimension | No | Maximum dimension constraint in pixels (default: 1500) | |
| maxPixels | No | Maximum total pixels (default: 1000000) |