import_tracks
Batch import audio files and directories into the rekordbox library. Requires rekordbox to be closed, as it modifies the database directly.
Instructions
Batch-import audio files and/or directories into the rekordbox library.
⚠️ CAUTION: This modifies your rekordbox database — rekordbox must be closed.
Tracks are added as unanalyzed. Open rekordbox afterwards and run "Analyze Tracks" on the new imports to generate waveforms/beatgrids/hot cues. Tip: follow up with add_tracks_to_playlist using the returned track_ids to stage them for easy selection in rekordbox.
Args: paths: List of file paths and/or directory paths. recursive: If a directory is given, descend into subdirectories (default True). auto_tag: Read ID3 tags via mutagen for each file (default True). extensions: Restrict directory scans to these extensions (e.g. ["mp3", "flac"]). Defaults to all supported types.
Returns: Summary with counts and per-file details for imported / skipped / failed.
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": {
"paths": "<paths>"
},
"name": "import_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | ||
| auto_tag | No | ||
| recursive | No | ||
| extensions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||