Upload a reference file
flowmusic_upload_fileUpload a JPEG, PNG or WebP image (up to 20 MB) or an MP3, WAV or M4A song (up to 40 MB) as a reference for flowmusic_create_song (refImage1..10 / refAudio1..10), from a public https url or as contentBase64 (small files). Returns the asset id, usable on that account only. References are loose hints: the model does not copy them. POST /files.
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": "flowmusic_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public https URL of the file. | |
| No | The account to upload to (an asset works only there). | ||
| mimeType | No | The file's type. Default: from the url's answer. | |
| contentBase64 | No | The file content, base64-encoded (instead of url). | |
| stripMetadata | No | JPEG and PNG: strip AI-provenance and EXIF metadata before the upload (default true; Flow Music refuses images that declare AI-generated provenance). false keeps the original bytes. |