Tag File
mpv_tagWrites metadata tags like artist, title, album, and genre to media files using ffmpeg, with automatic inference from filename when not provided.
Instructions
Write metadata tags to a media file using ffmpeg. Can target a file by search term. Infers artist/title from the filename if not provided.
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": {
"query": "<query>"
},
"name": "mpv_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | File path or search term for the file to tag | |
| artist | No | Artist name | |
| title | No | Track title | |
| album | No | Album name | |
| genre | No | Genre (e.g. Rock, Jazz, Metal) | |
| date | No | Year or date (e.g. 1978) | |
| comment | No | Comment (e.g. rating, notes, mood) |