Skip to content

Files & System

Read and write native metadata tags (ID3v2, Vorbis Comment, RIFF INFO, MP4/iTunes) on audio files. Supports FLAC, MP3, WAV, M4A, AAC, AIFF.


Read metadata tags from audio files.

ParameterTypeRequiredDescription
pathsstring[]Explicit file paths
track_idsstring[]Resolve paths from Rekordbox track IDs
directorystringScan a directory for audio files
globstringGlob filter within directory (default: all audio)
recursivebooleanScan subdirectories (default: false)
fieldsstring[]Return only these tag fields (default: all)
include_cover_artbooleanInclude cover art metadata (default: false)
limitintegerMax files to read (default: 200, max: 2000)

Provide exactly one of paths, track_ids, or directory. Passing multiple selectors or none returns an error.


Write or delete metadata tags on audio files.

ParameterTypeRequiredDescription
writesarrayyesArray of write operations
dry_runbooleanPreview changes without writing (default: false)

Each write entry:

FieldTypeRequiredDescription
pathstringyesPath to audio file
tagsobjectyesField names mapped to values, or null to delete
wav_targetsstring[]WAV only: "id3v2", "riff_info" (default: both)
comment_modestringHow to handle existing comments

Comment merge modes:

ModeBehavior
replaceOverwrite existing comment (default)
prependInsert before existing, separated by |
appendInsert after existing, separated by |

Extract embedded cover art from an audio file and save it to disk.

ParameterTypeRequiredDescription
pathstringyesPath to audio file
output_pathstringSave location (default: cover.{ext} in same directory)
picture_typestringWhich art to extract (default: "front_cover")

Embed cover art into one or more audio files.

ParameterTypeRequiredDescription
image_pathstringyesPath to image file (JPEG or PNG)
targetsstring[]yesAudio files to embed art into
picture_typestringPicture type (default: "front_cover")

Scan the Rekordbox library for structural problems: broken file links, orphan files on disk, playlist gaps, and duplicate tracks.


Scan for tracks with missing audio files on disk. Optionally suggests relocated files by case-insensitive filename matching across content roots.

ParameterTypeRequiredDescription
path_prefixstringScope to tracks whose file path starts with this prefix
suggest_relocationsbooleanAttempt case-insensitive filename matching for relocations (default: true)
limitintegerMax broken links to report (default: 200)
offsetintegerOffset for pagination

Find audio files on disk not imported into Rekordbox. Compares filesystem contents against the database for each content root.

ParameterTypeRequiredDescription
path_prefixstringDirectory to scan (default: content roots from library)
limitintegerMax orphan files to report (default: 200)

Find tracks not assigned to any playlist. Supports all search filters for scoping.

ParameterTypeRequiredDescription
querystringSearch query matching title or artist
artiststringFilter by artist name (partial match)
genrestringFilter by genre name (partial match)
rating_minintegerMinimum star rating (1—5)
bpm_minnumberMinimum BPM
bpm_maxnumberMaximum BPM
keystringFilter by musical key (e.g. "Am", "Cm")
has_genrebooleanFilter by whether track has a genre set
has_labelbooleanFilter by whether track has a label set
year_zerobooleanFilter to tracks with year = 0 (unset)
labelstringFilter by label name (partial match)
pathstringFilter by file path/folder (substring match)
path_prefixstringFilter to tracks whose file path starts with this prefix
added_afterstringOnly tracks added on or after this ISO date
added_beforestringOnly tracks added on or before this ISO date
has_unknown_genrebooleanFilter to tracks with a non-canonical genre (not in taxonomy and no known alias)
limitintegerMax uncovered tracks to return (default: 200)
offsetintegerOffset for pagination

Detect duplicate tracks by metadata (artist+title) or exact file hash (SHA-256). Each group includes a suggested_keep recommendation based on audio quality.

ParameterTypeRequiredDescription
detection_levelstring"metadata" (default) or "exact" (SHA-256 hash)
path_prefixstringScope to tracks whose file path starts with this prefix
limitintegerMax duplicate groups to report (default: 50)


Collection audit tool. The operation field determines the action.

Scan a directory tree for convention violations.

ParameterTypeRequiredDescription
operationstringyes"scan"
scopestringyesDirectory path to audit (must not be empty or root /)
revalidatebooleanRe-read all files including unchanged (default: false)
skip_issue_typesstring[]Issue types to exclude (e.g., ["GENRE_SET"])

Detects: empty fields, WAV tag drift, filename convention violations, and imported file protection warnings.

Query detected issues from a previous scan.

ParameterTypeRequiredDescription
operationstringyes"query_issues"
scopestringyesDirectory path prefix to filter (must not be empty or root /)
statusstring"open", "resolved", "accepted", "deferred"
issue_typestringFilter by issue type
limitintegerMax results (default: 100)
offsetintegerPagination offset (default: 0)

Mark issues as resolved with a resolution type.

ParameterTypeRequiredDescription
operationstringyes"resolve_issues"
issue_idsinteger[]yesIssue IDs to resolve
resolutionstringyes"accepted_as_is", "wont_fix", "deferred"
notestringOptional comment

Get an audit summary with issue counts by type and status.

ParameterTypeRequiredDescription
operationstringyes"get_summary"
scopestringyesDirectory path prefix (must not be empty or root /)

Clear all internal caches (enrichment, audio analysis, audit state) and all staged metadata changes. Preserves Discogs broker session.


Get workflow guides with step-by-step instructions.

ParameterTypeRequiredDescription
topicstring"genre", "genre audit", "set", "pool", "chapter", "audit", "import", "metadata" (aliases: "label", "year", "album"), "health" — or omit for all