Generate final assets
generateSpends credits. confirmCredits must equal the price of the items; if the price changed nothing is charged and price_changed comes back. Credits paid for an item's draft count toward that item's final (draft + final = the quoted price): confirming the plan_kit price is accepted and only the lower remaining price is charged. The same requestId returns the same jobs and charges nothing. itemIds may be "approved".
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>",
"itemIds": "<itemIds>",
"confirmCredits": "<confirmCredits>",
"requestId": "<requestId>"
},
"name": "generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemIds | Yes | ||
| options | No | iconStyle: the game icon look when plan_kit listed styles.gameIcon. | |
| projectId | Yes | ||
| requestId | Yes | ||
| confirmCredits | Yes |