detect_audio_events
Detect sound events such as crying, laughter, applause, barking, gunshots, and instruments in one audio file. Returns probability scores for each detected event.
Instructions
Detect sound events (crying, laughter, applause, bark, gunshot, instruments and more) in one audio file.
The result is a probability signal, not proof. The audio is uploaded to Modulate's Velma API. Allowed formats: aac, aiff, flac, mp3, mp4, mov, ogg, opus, wav, webm. Max 100 MB. Returns 'probs', a map from event name to probability (0 to 1) containing only events detected with enough confidence; an event missing from the map is not necessarily absent. Events are not mutually exclusive. 'probs' is empty when nothing was detected. Also returns duration_ms and 'top_event' (the highest-probability event, or null).
file_path: path to the audio file, relative to VELMA_MCP_BASE_PATH or absolute inside it.
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": "detect_audio_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||