Read media
read_mediaRead a photo as an inline image (original or adapted to 5 MiB), or a video as an authenticated HTTPS resource link supporting GET, HEAD and byte ranges. Videos are not base64-encoded into MCP. Use rendition=still only for an inline video thumbnail, not a frame at start_ms. For video playback pass the search result's segment_start_ms as start_ms; it is a seek hint, not a clip. The client must fetch video links with its authentication header (Authorization: Bearer for OAuth tokens or OwAI developer keys; legacy x-app-key is also supported) and support the source codec; a returned link alone does not mean playback or analysis succeeded. OneDrive needs no desktop. Local folders and Apple Photos require the owning app online with remote media access enabled; Photos also needs native permission and may first download/export from iCloud on that Mac. Does not launch windows or retain originals on the server.
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": {
"asset_id": "<asset_id>"
},
"name": "read_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | ||
| start_ms | No | ||
| rendition | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| start_ms | No | ||
| mime_type | Yes | ||
| byte_length | No | ||
| content_url | No | ||
| duration_ms | No | ||
| content_kind | Yes | ||
| delivery_status | No | ||
| requires_authentication | No |