forced_alignment
Align a known transcript to audio, returning per-word and per-character timing data as JSON.
Instructions
Align a known transcript to audio, returning per-word/character timings.
Args: audio_file_path: path to the audio file. text: the exact transcript of the audio.
Returns alignment data as JSON.
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": {
"audio_file_path": "<audio_file_path>",
"text": "<text>"
},
"name": "forced_alignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| audio_file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |