Check a generation
get_generationLook up a VoiceLabs generation by id to poll its status. Returns status (generating | completed | failed) and, once completed, the audio URL; a failed one carries a short human-readable error and a failureKind. While VoiceLabs is restarting its voice engine (a deploy takes about 40 seconds) it answers generating with retryAfterSeconds: wait that long and poll again, the generation is not lost. Read-only.
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": {
"generationId": "<generationId>"
},
"name": "get_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| generationId | Yes | The id returned by the speak tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | ||
| status | Yes | ||
| profile | Yes | ||
| audioUrl | Yes | ||
| failureKind | Yes | ||
| generationId | Yes | ||
| retryAfterSeconds | No |