Get media file
get-media-fileRetrieves verified metadata for an exact Anki media file and optionally returns a bounded image or audio preview for inspection.
Instructions
Returns verified metadata for one exact Anki media file and can include a bounded image or audio preview.
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": {
"filename": "<filename>"
},
"name": "get-media-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Portable filename inside Anki's flat collection.media folder | |
| includeContent | No | Return supported image or audio bytes as a native MCP content block when the file is small enough |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| exists | Yes | ||
| contentIncluded | Yes | ||
| contentOmissionReason | Yes |