Cancel variation batch
cancel_variation_batchCancel a batch of variations. A queued batch comes back cancelled at once. A running one stops after the row it is making: the variations it made stay, and the rest are skipped. A batch that has ended comes back as it is.
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>",
"batchId": "<batchId>"
},
"name": "cancel_variation_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batchId | Yes | The batch's id, from create_variation_batch. | |
| projectId | Yes | Project id, from list_projects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| error | Yes | ||
| total | Yes | ||
| failed | Yes | ||
| status | Yes | ||
| createdAt | Yes | ||
| projectId | Yes | ||
| succeeded | Yes | ||
| finishedAt | Yes | ||
| variations | Yes | ||
| sourceVersionId | Yes |