Display Image
display_imageDisplay an image with an interactive preview card, supporting optional title, caption, and file metadata for screenshots, diagrams, and more.
Instructions
Display/show any image to the user with an interactive preview card. Use this tool to show screenshots, diagrams, charts, photographs, or any visual content. Provides optional metadata including title, caption, dimensions, and file information. Always use this tool whenever you need to present visual content. This also applies to listings and any other imageoperations like get, download etc..these formats are explicitly handled: PNG, JPG, JPEG, GIF, SVG, WebP, BMP. The UI itself can display any image if the src is a valid URL or data URI, but local file paths are only auto-converted for those extensions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src | Yes | Image URL or data URI. Required. This is the source of the image to display. | |
| title | No | Optional title displayed above the image. Use to provide context or describe what the image shows. | |
| alt | No | Alt text for accessibility. Describe the image content for screen readers and when image fails to load. | |
| caption | No | Optional caption displayed below the image. Use to explain key details, findings, or analysis related to the image. | |
| width | No | Optional width in pixels to constrain the image. Use to control display size. | |
| height | No | Optional height in pixels to constrain the image. Use to control display size. | |
| filename | No | Optional original filename to display. Useful for showing file information alongside the preview. | |
| sizeBytes | No | Optional file size in bytes. Displayed as formatted file size (KB, MB). Useful for showing storage information. |