upload_file
Upload an audio file to the LibreTime media library by URL or local path, with optional prefilled track, artist, album, and genre metadata.
Instructions
Upload an audio file to the LibreTime media library. Provide a URL to fetch the file from, or a local file path when running in stdio mode. When neither is given, opens a file picker. Optionally pre-fill metadata such as track title, artist, album, and genre.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Publicly accessible URL of the audio file to upload | |
| genre | No | Genre | |
| library | No | Track type / library ID | |
| file_path | No | Absolute path to a local audio file — use when running stdio mode | |
| album_title | No | Album title | |
| artist_name | No | Artist name | |
| track_title | No | Track title |