Approve or reject variants
variations_reviewApprove (save as project scripts) or reject made variants by their ids. Variants not ready are skipped. Free; repeating a decision changes nothing.
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": {
"variantIds": "<variantIds>",
"decision": "<decision>",
"projectId": "<projectId>",
"batchId": "<batchId>"
},
"name": "variations_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batchId | Yes | `id` from variations_list. | |
| decision | Yes | approve saves a script variant as a project script and marks a rendered one ready to schedule; reject only marks it. | |
| projectId | Yes | The project id. | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| variantIds | Yes | variants[].id values to decide on; only made (ready) variants change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||