detect_language
Identify the spoken language in an audio file without transcription, returning the predicted language, ISO code, confidence score, and duration for review.
Instructions
Identify the spoken language of one audio file. No transcription.
The result is a model signal. The audio is uploaded to Modulate's Velma API. Only the first 30 seconds are analyzed. Allowed formats: the wide audio/video list (for example wav, mp3, m4a, flac, ogg, opus, mp4, webm, mov). Max 100 MB. Returns predicted_language (name, such as 'English'), predicted_language_code (ISO 639-1, such as 'en'), confidence (0 to 1) and duration_ms.
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_language"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||