Confirm a quoted generation charge
playground_approval_decideAfter showing the exact prompts, references and total credits in chat and receiving the user’s explicit confirmation, approve or reject one direct generation request created by this client. Approval submits a paid job. Pass its inputFingerprint and maxCredits from the prepared request. Never call approve before the user confirms. Cannot approve another client’s requests or delegated agent plans. Returns the approval decision result, including dispatch or rejection status.
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>",
"approvalId": "<approvalId>",
"decision": "<decision>",
"inputFingerprint": "<inputFingerprint>",
"maxCredits": "<maxCredits>"
},
"name": "playground_approval_decide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| approvalId | Yes | Approval ID from the prepared request or approvals_list. | |
| maxCredits | Yes | Maximum credits explicitly approved by the user; copy the quoted ceiling without increasing it. | |
| inputFingerprint | Yes | Exact input fingerprint from the quote, binding approval to the reviewed inputs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| jobId | No | ||
| nodeId | No | ||
| status | Yes | ||
| receipt | No | ||
| dispatches | No |