delete_media_file
Deletes a specified file from the Anki collection media folder. This action is permanent and cannot be undone.
Instructions
Delete a file from the collection's media folder. Irreversible.
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": "delete_media_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |