Photos View
photos_viewView up to four photos or videos by ID, returning a JPEG preview capped at max_px plus metadata; videos return their poster frame.
Instructions
Look at up to 4 items: per id a label (n, id, taken_at, type, width/height of the returned JPEG) followed by the JPEG, at most max_px (≤1568) on the longest edge; no originals. A video gives its poster frame (video_poster: true).
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": {
"ids": "<ids>"
},
"name": "photos_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Item ids (max 4) | |
| max_px | No | Longest edge in pixels |