fish_get_task
Retrieve the status and output of an audio generation task. Poll until completion, then get the resulting audio URL.
Instructions
Query the status and result of a Fish audio generation task.
Use this to check if a task is complete and retrieve the resulting audio URL.
Task states:
- 'pending': Task is queued — keep polling
- 'processing': Task is being processed — keep polling
- 'complete': Task finished successfully
- 'failed': Task failed (check error message)
Returns:
Task status and result data including audio URL.
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": {
"task_id": "<task_id>"
},
"name": "fish_get_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task ID returned from a fish_generate_audio request. This is the 'task_id' field in the response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |