store_media_file
Save or update media files in the Anki MCP server by providing a filename and data via Base64 encoding, local file path, or URL. Optionally delete existing files with the same name.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | No | Base64-encoded data of the file | |
deleteExisting | No | Whether to delete existing file with same name | |
filename | Yes | Name to save the media file as | |
path | No | Local file path to read from | |
url | No | URL to download the file from |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"data": {
"description": "Base64-encoded data of the file",
"type": "string"
},
"deleteExisting": {
"description": "Whether to delete existing file with same name",
"type": "boolean"
},
"filename": {
"description": "Name to save the media file as",
"type": "string"
},
"path": {
"description": "Local file path to read from",
"type": "string"
},
"url": {
"description": "URL to download the file from",
"type": "string"
}
},
"required": [
"filename"
],
"type": "object"
}