Get Task
get_taskCheck an image, video, audio or image-processing task once.
Uses existing account credentials; creates no tasks or credentials and consumes no credits. Does not poll or post-process results.
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": "get_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Fotor task ID returned by a submission tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Stable failure code; null when no failure is reported. | |
| status | Yes | Observed task state. processing does not distinguish queued or running; unknown is an unrecognized upstream state. | |
| task_id | Yes | Fotor task ID for get_task. | |
| task_type | No | Audio operation type when available. | |
| result_url | No | Completed output URL; availability is not guaranteed permanently. Audio output may be MP3 or ZIP. | |
| is_terminal | Yes | Whether the task has completed, failed, timed out or been cancelled. | |
| failure_reason | No | Safe failure summary; may be generic rather than the upstream root cause. | |
| credits_increment | No | Reported task credit cost; not an additional charge on each query. Null if unavailable. |