Get capture image
get_capture_imageRead one allowlisted WebP from a product version by relative path (for example before.webp, capture/pages/home/desktop/viewport.webp). Only .webp paths present in storage are readable.
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": {
"product": "<product>",
"platform": "<platform>",
"version": "<version>",
"path": "<path>"
},
"name": "get_capture_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Capture-relative archived file path returned by an inventory tool. Use forward slashes; absolute paths and traversal are not allowed. | |
| product | Yes | Product key, for example finance-ozon-ru | |
| version | Yes | Exact capture version returned by list_versions. Pin the same version across related calls; do not use latest as an alias. | |
| platform | Yes | Platform type ID from list_platforms.options.platforms[].id (backend CatalogPlatform.view). Use backend IDs verbatim; desktop/mobile are current examples. Environment is selected separately. | |
| environment | No | Environment ID from the selected backend platform type in list_platforms.options.platforms[].environments[].id (backend implementation). Omit only when the version has one captured environment. Use captured pairs from list_platforms/list_versions for actual availability. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mimeType | Yes | MIME type of the returned image | |
| contentIndex | Yes | Zero-based index of the ImageContentBlock |