skkg_view_image
skkg_view_imageOpens a zoomable, pageable viewer showing an object's published images or a single image from the SKKG collection, with rights and licence information displayed.
Instructions
Show SKKG images to the user in a zoomable viewer they can page through. Pass an object id for all its published images, primary first in the order of skkg_get_object, with index for the image to open first, or an image id ("multimedia/…") for that image alone. The viewer appears beside the result in clients that support MCP Apps, and shows each image's rights. Nothing comes back for you to look at. The viewer is for the user; to look at an image yourself, call skkg_inspect_image with its id. If the user says no viewer appeared, give them website_url as a plain link; never embed an image URL as Markdown. Quote both rights: image_rights.image_license is the image's, each object's object_copyright its own.
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": "skkg_view_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | An object id ("object/1014", an inventory number, a website link) for its images, or an image id ("multimedia/…") from skkg_get_object or skkg_get_record | |
| lang | No | Language of vocabulary labels. Most vocabularies, materials and object types among them, have German labels only, which are returned whatever the language; titles and texts stay as recorded | de |
| index | No | With an object id: the image to open first, 1 being the primary, in the order of skkg_get_object's images. Default 1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The object or image id the viewer opened | |
| type | Yes | ||
| images | Yes | The images sent to the viewer, in order | |
| objects | Yes | The object, or for an image id the objects it belongs to | |
| warnings | No | ||
| data_as_of | No | ||
| image_count | Yes | Published images of the object; 1 for an image id | |
| start_index | Yes | The image the viewer opens first, counted in `index` | |
| image_rights | Yes | Each distinct set of image rights once; images point to one with rights_set | |
| object_count | Yes |