Analyze audio
analyzeExtracts BPM, key, loudness, and other audio characteristics from a local track file and returns metadata without altering the file.
Instructions
Analyze a track: BPM, key, loudness and other characteristics.
Use this first whenever the user asks for tempo, key or loudness. It is the fastest tool
(seconds), does not count as a run, and changes nothing. The answer is in metadata and
the same data is saved to the results folder.
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": {
"file_path": "<file_path>"
},
"name": "analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Full path to a local audio file (.wav, .mp3, .aif, .aiff, .flac, .m4a, .ogg, .aac). ~ is expanded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| files | Yes | ||
| summary | Yes | ||
| metadata | Yes | ||
| output_dir | Yes | ||
| execution_id | Yes |