stop_job
Stop an agent run (design, React edit or video) that is still going: pass its jobId, the agentJobId its start answered with (agentJobId works too). Finished screens stay and are billed. Poll get_job until it says cancelled.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stop_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | No | The run to stop: the agentJobId its start answered with. Required unless agentJobId is sent. | |
| agentJobId | No | Another name for jobId. |