media_retrieveMediaFile
Retrieve base64-encoded contents of a media file from Anki’s collection using the specified filename. Returns the encoded string or false if the file is not found.
Instructions
Retrieves the base64-encoded contents of the specified media file. Returns the base64 string or false if not found.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filename | Yes | The name of the media file in Anki's collection. |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"filename": {
"description": "The name of the media file in Anki's collection.",
"title": "Filename",
"type": "string"
}
},
"required": [
"filename"
],
"type": "object"
}