Generate directions
generate_directionsGenerate other facings of an existing sprite (in-app Directions). source_direction is required — ask the user if it is not obvious. Defaults: density quality, targets = the other cardinals. State the assumptions you used. Only an off-center subject blocks (fix_preflight: true re-centers it); brush/size findings are advisory warnings (fix_preflight: "all" applies them). ~8 credits (HD).
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": {
"asset_id": "<asset_id>",
"source_direction": "<source_direction>"
},
"name": "generate_directions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Append finished artboards into the source library file (default true). | |
| density | No | max (1 facing) | quality (~3 facings, default). Quantity is treated as quality. | |
| asset_id | Yes | Source library asset id (from list_assets). Must face source_direction. | |
| artboard_id | No | Optional artboard id from get_asset. Multi-artboard files need artboard_id or artboard_name to pick one sprite; omit for single-artboard assets. | |
| color_policy | No | Palette policy matching in-app ColorPolicyControl: "32"|"64"|"128"|"256" (max colors) or "none" (don't reduce). Default "128". Put palette caps here, not in the prompt. | |
| artboard_name | No | Optional artboard name from get_asset (e.g. "rocks_crystal"). Alternative to artboard_id. | |
| fix_preflight | No | true = re-center the subject for this run (the only blocking finding). "all" = also apply the advisory brush and artboard-resize fixes, which can change the output size. Default false. The saved library file is not changed. | |
| source_direction | Yes | Which way the source sprite faces now (N/NE/E/SE/S/SW/W/NW). Required — ask the user if it is not clear from the image or context. | |
| subject_category | No | Subject framing (default character); infer from the sprite. | |
| target_directions | No | Facings to generate. Capped by density (max=1, quality≈3). Default: the other cardinals. Source facing excluded. |