Get an image
get_imageOne image with its status, sizes and savings. Poll this, a few seconds apart, until the status is completed, already-optimized, failed or cancelled. Once finished, optimized.download_url downloads the result and original.download_url the file as it was sent; both addresses work without a token and expire after an hour, so ask again for fresh ones. An image sent with responsive_widths lists its sizes under responsive once responsive.status is ready, each with its own download_url, plus one for a zip of them all and an in html.
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": {
"id": "<id>"
},
"name": "get_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The image's id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The image's id. | |
| hint | No | What to do next, when the status alone does not say. | |
| name | No | The name the optimized copy downloads under. | |
| folder | No | The folder it was sent with, which a zip puts it in. Null for an image on its own. | |
| status | No | ||
| scan_id | No | The page scan that found it, if one did. | |
| alt_text | No | The AI alt text, or null when none was asked for. | |
| original | No | ||
| settings | No | ||
| optimized | No | Null until the image has finished. | |
| share_url | No | Its public page, once shared. | |
| created_at | No | ||
| responsive | No | The responsive sizes (paid plans), or null when none were asked for. list_images carries only their status. | |
| source_url | No | The address it was fetched from: its address on the scanned page, or the url it was sent as. Null for a file. | |
| updated_at | No | ||
| saved_bytes | No | Negative when the optimized copy is larger. | |
| saved_percent | No | ||
| size_limit_status | No | Against settings.size_limit: under, resized (made smaller in pixels to fit) or over. Null without a limit, and until the image has finished. | |
| content_credentials | No | The Content Credentials (a signed C2PA record of where the image came from) the file sent carried, or null when it carried none, and until the image has finished. |