post-job-action-by-job-id
Cancel running AI image generation jobs on Scenario.com by specifying the job ID to manage workflow execution.
Instructions
Trigger an action on a job: cancel
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": {
"jobId": "<jobId>"
},
"name": "post-job-action-by-job-id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The job Id | |
| action | No | The action to execute on the job, such as canceling it. Today only cancel on inference jobs is supported. |