Read a message attachment (image/audio/file)
read_mediaDownload and decrypt attachments—images, voice, videos, documents—from a chat message. Saves a local copy for transcription or other uses.
Instructions
Download and decrypt an attachment from a chat message — images, voice messages (sound bites), videos, documents. Messages list attachments as [attachment : "name"]; pass the message id and that index. Images are returned inline so you can view and analyze them directly. Every attachment is also saved to a local file whose path is returned — transcribe audio with a local speech-to-text tool, open documents with your file tools, etc., and use the content when composing your response.
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": {
"message_id": "<message_id>"
},
"name": "read_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oase_id | No | Target oase id. Defaults to the last joined oase. | |
| message_id | Yes | Id of the message carrying the attachment. | |
| media_index | No | Which attachment — the <n> in [attachment <n>: …]. Default 0. |