Generate UI Pack
generate_ui_packGet a cost preview for an exact component list and batch breakdown, then generate using the returned signed quote. Every paid raster/SVG batch is 100 credits; one pack action can contain several batches. Fonts are free. Defaults to dry-run; never alter the quote.
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": {
"packId": "<packId>"
},
"name": "generate_ui_pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | No | Unmodified signed quote returned by the dry-run. Required when dryRun is false. | |
| dryRun | No | Show the user estimatedCredits and ask whether to proceed, unless already authorized in this session. Prefer the client native question UI with Approve / Decline / Discuss choices; otherwise accept any unambiguous conversational approval. Never require a fixed phrase or magic word. Then set false and supply the returned quote. | |
| packId | Yes | Owned UI Pack ID. | |
| request | No | ||
| idempotencyKey | No | Reuse the same key when retrying a confirmed request. |