Confirm generation batch
playground_generation_confirmAfter explicit user confirmation of exact inputs and total credits, submit all selected direct-generation approvals from one run in one call. Pass confirmation.items and totalCredits from the prepared request as items and maxCredits. Validates all client/user/run bindings before dispatch; preserves already-submitted items on retries and reports every partial failure. Never call before user confirmation. No Berrys review-page click is needed.
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>",
"runId": "<runId>",
"decision": "<decision>",
"maxCredits": "<maxCredits>",
"items": "<items>"
},
"name": "playground_generation_confirm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| runId | Yes | Run ID returned by preparation or execution for this project. | |
| decision | Yes | Whether to approve or reject the selected proposal; approve charges only after explicit user confirmation. | |
| projectId | Yes | ID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context. | |
| maxCredits | Yes | Sum of the quoted credit ceilings for all selected items, explicitly confirmed by the user. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | Suggested next action; it does not authorize spending. | |
| items | Yes | ||
| runId | Yes | ||
| status | Yes | ||
| projectId | Yes | ||
| dispatches | Yes | ||
| confirmedCredits | Yes | ||
| unresolvedApprovalIds | Yes | ||
| alreadySubmittedCredits | Yes |