Get image
get_imageRetrieve metadata for a PixelVault image by ID, including CDN URL, dimensions, size, and MIME type so you can inspect or transform the asset.
Instructions
Get metadata (CDN URL, size, MIME type, dimensions) for one PixelVault image by id (GET /v1/images/:id). Image CDN URLs support on-the-fly transforms via query params — e.g. ?w=400&fit=cover (resize/crop), ?fmt=webp (format), ?segment=foreground (AI background removal → transparent PNG), and effects like ?blur=30&saturation=0&rotate=90. Or call transform_image to build a valid transform URL for you. PDFs are forced downloads and reject transforms. See https://pixelvault.dev/docs/transforms/.
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": "get_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Image id to fetch, e.g. img_abc123. |