check a speech preview
speech-previews_getRead a speech preview job's status to check whether it is pending, processing, successful, or failed, and get its audio URL, duration, or error details.
Instructions
Read the status of one speech preview job created by speech-previews_create. PENDING or PROCESSING means it is still running; SUCCESS fills the audio url and duration; FAILED usually fills error with a code and message, but error can be null, so check it before reading. jobs_get and jobs_wait do not cover speech previews, and this tool has no wait option: call it again while the job runs, and never create another preview to recover a running one. projectId is only an access check (pass the one used at create); the job is looked up by id within the session's organization, and an inaccessible project or an id not found there returns an error. Does not synthesize or bill.
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": {
"projectId": "<projectId>",
"id": "<id>"
},
"name": "speech-previews_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Speech preview id from speech-previews_create. | |
| projectId | Yes | Project you passed to speech-previews_create, from projects_create or projects_list. It is read first to check access; an id you cannot access returns an error. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||