read_archive_entry
Get metadata and base64 audio or video from an archive entry. Use metadataOnly to skip the media payload for faster responses.
Instructions
Return an archive entry's metadata + optionally the base64 audio or video media bytes. The mediaType parameter selects which stream ("audio" default, or "video"). Pass metadataOnly=true to skip the base64 payload (responses can be MBs otherwise). Returns { ok, present, mimeType, base64 } or { ok, present: false } if the requested media isn't attached to this entry.
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": "read_archive_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Archive entry id (from list_archive_entries). | |
| mediaType | No | Which media stream (default "audio"). | |
| metadataOnly | No | If true, skip the base64 media payload. |