View an image
inspect_imageFetches one PNG, JPEG, or WebP image from a Kalpana URL (a template or asset previewUrl, or a downloadUrl from get_batch_outputs) and returns it as image content with its content type and byte size. Other hosts, other file types, and files over 5 MB are rejected, and a fetch gives up after 15 seconds. It shows one image per call; it does not build contact sheets or render templates, whose look comes from their previewUrl.
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": {
"url": "<url>"
},
"name": "inspect_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | previewUrl or downloadUrl returned by another Kalpana tool |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sizeBytes | Yes | ||
| contentType | Yes | MIME type of the returned image |