View attachment images
view_attachment_imagesShow image attachments to you, the model. Pass media_id from list_attachments (or the id in a /media/ URL) as one string or a list of 1–10 IDs; results come back per distinct ID in input order. Only images up to 25 MB: other kinds, larger images and unavailable files come back as per-item errors. In a client that renders MCP Apps widgets, the Werify widget sends you the images as the next message, after you end your turn: end it promptly and do not fetch the URLs. In other clients, each result's url downloads the original image without Authorization or cookies until expires_at, for a tool of yours that fetches files or for the user. Anyone holding the URL can download that file until it expires; do not publish it. The result's first text says which case this is.
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": {
"media_id": "<media_id>"
},
"name": "view_attachment_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_id | Yes | One media_id of an image from list_attachments (or a /media/<id> URL), or a list of 1–10 IDs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | The Werify account's language as a BCP 47 tag, for the widget's own text. | |
| results | No | One image or error per distinct media_id, in input order. |