Get a SpicyAPI task
spicyapi_task_getRetrieve a generation task's output and asset URLs. Use the URLs directly without an API key; re-query if assets are pending or expired.
Instructions
Read a task created by the current API key, including ready output.assets[].url links. Use those URLs directly without your API key; query again if assets are pending or URLs have expired. A verified complete v2 webhook already contains the result. Unknown and inaccessible IDs are both 404.
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": {
"taskId": "<taskId>"
},
"name": "spicyapi_task_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |