Improve prompt (active style)
enrich_promptRewrite a short prompt into a fully-styled MagicPixel prompt using the brief of the account's active style (same as in-app Improve prompt). Does not spend AI generation credits; subject to daily enrich quota. Prefer get_style_profile / update_style_profile first when no style is active or its brief is empty. When generating more than one asset (Quantity / Quality), pass count so the rewrite is a diverse family brief instead of one locked design. Pass size so a 32px-or-smaller sprite gets a short, minimal rewrite.
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": {
"prompt": "<prompt>"
},
"name": "enrich_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "generate" expands a new-asset request (default); "edit" sharpens an edit instruction. | |
| size | No | Sprite size in art pixels (the generate_pixel_art size). Pass it: at 32 or smaller the rewrite is kept short and minimal, the way a tiny retro sprite needs. | |
| count | No | How many assets generate_pixel_art will produce from this prompt. Pass the Quantity/Quality count (>1) so enrichment writes a family brief instead of locking one silhouette. Omit or 1 for a single asset. | |
| prompt | Yes | Short user request to expand (e.g. "red knight shield"). Same cap as the in-app prompt box: longer text is trimmed to the first 1000 characters and the reply says so. | |
| variation | No | Pass a higher number to request a visibly different rewrite of the same prompt. | |
| subject_category | No | Optional subject hint for the enricher (character|item|building|ui|custom|texture). |