Media
Edit metadata tags (artist, album, title, genre, year, track, comment) for multiple audio files at once
Call this tool from your code in three languages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/audio-batch-metadata-editor' \
-F 'file=@/path/to/audioFiles.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/audio-batch-metadata-editor' \
-F 'audioFiles=/path/to/file.ext' \
-F 'artist=Artist name' \
-F 'album=Album name' \
-F 'title=Track title (applied to all files)' \
-F 'genre=Music genre' \
-F 'year=2024' \
-F 'track=Applied to all files if not using sequential numbering' \
-F 'trackNumbering=none' \
-F 'comment=Notes or comments' \
-F 'outputFormat=keep'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/audio-batch-metadata-editor| Name | Type | Required | Description |
|---|---|---|---|
| audioFiles | fileupload required | Yes | — |
| artist | text | No | — |
| album | text | No | — |
| title | text | No | — |
| genre | text | No | — |
| year | text | No | — |
| track | text | No | — |
| trackNumbering | select | No | — |
| comment | text | No | — |
| outputFormat | select | No | — |
File result
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-audio-batch-metadata-editor": {
"name": "audio-batch-metadata-editor",
"description": "Edit metadata tags (artist, album, title, genre, year, track, comment) for multiple audio files at once",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=audio-batch-metadata-editor",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "audio-batch-metadata-editor",
"arguments": {
"audioFiles": "https://example.com/file.ext",
"artist": "Artist name",
"album": "Album name",
"title": "Track title (applied to all files)",
"genre": "Music genre",
"year": "2024",
"track": "Applied to all files if not using sequential numbering",
"trackNumbering": "none",
"comment": "Notes or comments",
"outputFormat": "keep"
}
}
}Questions or issues? Contact [email protected]