Cancel a queued Playground media job
playground_media_job_cancelCancel one queued agent image or video job and release its credit hold. A processing provider job cannot be cancelled by this tool. Requires project edit access.
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>",
"dispatchId": "<dispatchId>"
},
"name": "playground_media_job_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | ID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context. | |
| dispatchId | Yes | Dispatch receipt ID returned by generation or media_jobs_list; reuse it to check the same job. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | ||
| jobId | No | ||
| status | Yes | ||
| dispatchId | Yes |