{"name":"com.spriteship/spriteship","slug":"spriteship","title":null,"description":"Build a game's 2D art layer with your agent: characters, animations, tilesets, levels, 5 engines.","url":"https://mcp.market/server/spriteship","rating":null,"grade":"C","score":60,"certified":false,"status":"active","category":"ai","tags":["ai"],"presence":{"score":8,"stars":null,"forks":null,"downloads_week":null,"last_push_at":null,"license":null},"uptime":{"percent":100,"checks":20,"ok":20,"last_checked_at":"2026-09-24T06:46:14.750Z","last_ok_at":"2026-09-24T06:46:14.750Z","latency_ms":124},"claimed":false,"transport":"remote","callable_via_gateway":true,"default_price_micros":0,"repository":null,"website":"https://spriteship.com","version":"1.0.0","remotes":[{"type":"streamable-http","url":"https://spriteship.com/mcp","headers":[{"description":"Bearer <your SpriteShip API key>. Create one at https://spriteship.com/account/api-keys — keys are scoped, and every paid tool defaults to dryRun so you see the credit cost before anything is spent.","isRequired":true,"isSecret":true,"name":"Authorization"}]}],"packages":[],"tools":[{"name":"animate_asset","description":"PAID (image-to-video, cost scales with duration × pair count). Animate ANY asset type — the animation lands on the source asset and its still image is preserved. For grid assets (tileset/staged) pass pairs of tile indices; a self-loop { from: n, to: n } makes one tile loop seamlessly. ASK THE USER WHICH STAGES FIRST. Call get_asset, describe the tiles you can see, and get an explicit answer on which is the START and which is the END before you spend. \"Animate the treasure box\" does not tell you whether they mean closed→open, open→closed, or the lid alone, and guessing wrong bills them for a clip they cannot use. The server rejects a grid animate with no pairs (400) precisely so that this choice is always made deliberately — do not satisfy it by defaulting to 0→last. For already-authorized generation, automatically execute a zero-credit recovery quote and poll it; no renewed approval or refund. Never duplicate a running recovery. Limit automatic retries to two per failed job per session; stop on recurring failure or any paid quote. DEFAULTS TO A COST PREVIEW — see the dryRun argument. Returns { jobId } — poll get_job.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"assetId":{"type":"string","description":"Asset id or slug."},"iterationId":{"type":"string","description":"Revision (iteration) id to animate."},"pairs":{"type":"array","items":{"type":"object","properties":{"from":{"type":"integer","minimum":0,"description":"Start tile index."},"to":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"End tile index, or null for prompt-driven motion."}},"required":["from","to"],"additionalProperties":false},"description":"Grid assets only — which tile transitions to animate. Omit for single-image assets."},"motionHint":{"type":"string","description":"Extra motion guidance folded into the prompt."},"videoModel":{"type":"string","description":"Override the video model."},"durationSeconds":{"type":"number","minimum":2,"maximum":10,"description":"Clip length, clamped server-side to 2-10s."},"closeLoop":{"type":"boolean","description":"Single-image assets — reuse the start frame as the end frame so the clip loops."},"dryRun":{"type":"boolean","default":true,"description":"DEFAULTS TO TRUE. While true this returns only a cost quote ({ estimatedCredits, balance, spendCapDaily, spentLast24h, capRemaining }) and executes nothing. Show the user estimatedCredits, then ask a normal confirmation question. Prefer the client's native question UI with Approve / Decline / Discuss choices when available; otherwise accept any unambiguous conversational approval. Never require a fixed phrase or ask the user to type a magic word. Only after approval, re-call with dryRun:false to actually spend."},"idempotencyKey":{"type":"string","minLength":1,"description":"Optional Idempotency-Key for the real (dryRun:false) call. Omit and one is minted per call. Reuse the SAME value when retrying a call that failed with ENTITY_BUSY / 402 / 429 so the retry cannot double-dispatch."}},"required":["assetId","iterationId"],"additionalProperties":false}},{"name":"approve_automatic_pose_fallback","description":"Successful automatic poses now continue without review, including imports. Four-direction setup stays automatic and eight-direction keeps its existing selection. Imported generation preserves source rendering rather than project style. Use this tool only when get_job returns a pending automaticPoseFallback. If poseReview is present, this is a historical imported-pose checkpoint from an earlier flow: show originalUrl and poseUrl side by side and ask the user to check style, complete head/body and unwanted ground/scenery. Submit choice=\"generated\" only after they accept that exact pose, or choice=\"original\" to use their original character; include poseVersion from poseReview.version. Use cancel_job to cancel. Without poseReview, pose creation failed: ask whether to continue with the default pose or cancel, and use choice=\"original\" to continue. Never approve automatically. Both choices resume the original approved animation request at normal video cost. Accepted generated poses are reused without another review until regenerated.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"jobId":{"type":"string","description":"Job waiting for an automatic pose decision."},"choice":{"type":"string","enum":["generated","original"],"description":"Required for an imported-pose review. Technical-failure fallback defaults to original."},"poseVersion":{"type":"string","description":"Exact poseReview.version shown to and approved by the user; required for an imported-pose review."}},"required":["jobId"],"additionalProperties":false}},{"name":"approve_directional_poses","description":"FREE approval checkpoint. Use only when get_job returns status:\"waiting_approval\", wizardPhase:\"waiting-directional-pose-approval\", and directionalPoseReview. Present every returned previewUrls to the user and let them adjust or review the proposed frameIndices and poseScales. If any remain unreviewed, get explicit confirmation to use those candidates as shown before submitting the complete returned index and scale maps. When directions is present, review only those four poses, choose unique indices 0–3, keep scale 100 and preserve unused map entries. Absent directions means eight poses. Closing or declining means do not call this tool: the job remains paused and no dependent animation credits are spent. The server rechecks the live credit balance immediately before resuming paid dependent animations.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"jobId":{"type":"string","description":"Waiting job id from get_job."},"frameIndices":{"type":"object","properties":{"s":{"type":"integer","minimum":0},"se":{"type":"integer","minimum":0},"e":{"type":"integer","minimum":0},"ne":{"type":"integer","minimum":0},"n":{"type":"integer","minimum":0},"nw":{"type":"integer","minimum":0},"w":{"type":"integer","minimum":0},"sw":{"type":"integer","minimum":0}},"required":["s","se","e","ne","n","nw","w","sw"],"additionalProperties":false,"description":"Approved source-frame index for every compass direction."},"poseScales":{"type":"object","properties":{"s":{"type":"integer","minimum":70,"maximum":115},"se":{"type":"integer","minimum":70,"maximum":115},"e":{"type":"integer","minimum":70,"maximum":115},"ne":{"type":"integer","minimum":70,"maximum":115},"n":{"type":"integer","minimum":70,"maximum":115},"nw":{"type":"integer","minimum":70,"maximum":115},"w":{"type":"integer","minimum":70,"maximum":115},"sw":{"type":"integer","minimum":70,"maximum":115}},"required":["s","se","e","ne","n","nw","w","sw"],"additionalProperties":false,"description":"Approved percent scale for every compass direction (70–115). Omit to keep the review values."}},"required":["jobId","frameIndices"],"additionalProperties":false}},{"name":"cancel_job","description":"FREE. Abort a running job. Failed/incomplete provider work is refunded automatically. If the job is waiting for directional-pose approval, its successful reusable 360 and pose charges are retained; no dependent animation has started. Use this when a generation is clearly going wrong rather than letting it run to completion.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"jobId":{"type":"string","description":"Job id to cancel."}},"required":["jobId"],"additionalProperties":false}},{"name":"convert_texture_to_material","description":"FREE and SYNCHRONOUS, no AI. Copies a legacy repeat-xy texture into a new immutable Brushable Material revision; the original revision is preserved. Topdown/isometric conversions can be ready immediately when the legacy seam check passed. Platformer conversions are marked needs-review because the old texture has no paired surface ribbon. Legacy strip-only textures cannot be converted because they have no interior fill. Returns the new iteration and quality status; call get_asset afterwards.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"assetId":{"type":"string","description":"Legacy texture asset id or slug."},"iterationId":{"type":"string","description":"Legacy texture revision to preserve and convert."},"projection":{"type":"string","enum":["platformer","topdown","isometric"],"description":"Map projection this Material will paint."}},"required":["assetId","iterationId","projection"],"additionalProperties":false}},{"name":"create_animation_from_pose","description":"FREE, no AI. Promote a pose into a real 1-frame animation (a still/idle) that is scaled to match the character's other animations and exports to every engine. Pass poseId \"__idle__\" to use the character's default image when it has no poses. Returns a jobId — poll get_job.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"characterId":{"type":"string","description":"Character id."},"poseId":{"type":"string","description":"Pose id, or \"__idle__\" for the character's default image."},"newId":{"type":"string","description":"Slug for the new animation ([A-Za-z0-9_-])."},"displayName":{"type":"string","maxLength":120,"description":"Human-facing label."},"fps":{"type":"integer","minimum":1,"maximum":60,"description":"Playback fps."}},"required":["characterId","poseId"],"additionalProperties":false}},{"name":"create_asset","description":"PAID (one image call). Creates a NEW asset from a prompt in any of the six types. The default dry run now returns a strictly text-free artwork brief: no captions, labels, lettering, digits or pseudo-writing unless the user explicitly requests specific intrinsic writing on an object. Environment Kit overlays must not have die-cut sticker borders or backing. It returns both the exact semantic plan (`plan.preview`, item count/list, camera, project-derived look) and `planToken`. SHOW that preview to the user. A real call requires the same request plus that planToken; changing the prompt, project settings, type, model, or output settings invalidates it and requires a new dry run. Object (`assetType: \"static\"`, formerly Static Asset) defaults to four separately editable design alternatives of the requested object, not a state sequence. All four share project style and one of five world cameras; explicitly requested flat inventory/UI icons use front/content_type. Explicit one remains supported. Clean cutouts omit incidental scenery and sticker backing, not real outlines or integral bases. Never automatically reroute asset types. Object States (`staged`) is one object in 2–25 exact ordered states, choosing the smallest useful sequence when count is omitted; no filler or automatic animation. Preserve identity, shared physical scale and real size changes. Object Collection (`tileset`) and Environment Kit (`terrain`) propose 1–25 useful pieces when no count is specified; explicit lists/counts are preserved without grid-filler extras. Object Collections contain independently editable mixed items, variants, matching families, icons/symbols or cards/tokens—not automatic animation stages. World props follow project camera; flat icons/cards use front-facing presentation even in isometric projects, unless the user explicitly requests another view. Preserve requested intrinsic symbols/text, never external captions. Material uses one transparent 1K GPT Image 2 donor sheet and yields two platformer fill+surface families or four topdown/isometric fills, and background to one image when the user did not specify a count. Explicit counts/semantic sets override defaults, and non-square counts for other grid types are filled to the smallest supported 2×2–5×5 square with disclosed supplemental items. Environment Kit camera follows the project; request a different camera explicitly in the prompt. Kit pieces are placed over Materials, not used as deterministic terrain donors or guaranteed seamless brushes. projectId is REQUIRED — the project supplies gameType, which decides how the art is drawn, and keeps the asset findable in the web app. A fan-out create returns one jobId — the asset ids appear in get_job as gridAssetIds once the job finishes. Environment Kit has NO per-tile edit path: revising a terrain asset regenerates the whole sheet. DEFAULTS TO A PLAN + COST PREVIEW — see dryRun. Returns { jobId, assetId } — poll get_job, then call get_asset. Generated atlases are cut by logical foreground objects, not trusted row geometry; get_asset exposes extraction status/warnings.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","description":"REQUIRED. Owning project (create_project / list_projects). Supplies gameType + default style."},"assetType":{"type":"string","enum":["static","tileset","staged","background","terrain","texture"],"description":"`static` = Object (formerly Static Asset), four separately editable design alternatives by default (explicit one supported); each may also be animated; tileset = Object Collection, one coordinated set of independently editable items; staged = one subject in N progressive stages (the input animate_asset expects); background = scenery, never a game object; terrain = Environment Kit, individually placed props, surface details or connecting modules; texture = Terrain Material, brushable fill/surface donors (wire names unchanged; editor topology is deterministic)."},"prompt":{"type":"string","minLength":1,"maxLength":20000,"description":"What to generate. Describe the subject, not the art style — style comes from the project."},"name":{"type":"string","description":"Display name (defaults to the prompt)."},"slug":{"type":"string","description":"Stable handle used by every /assets/:id call ([a-z0-9-]). Auto-derived from the name when omitted."},"style":{"type":"string","description":"Override the project's art style for this asset only."},"imageModel":{"type":"string","description":"Override the image model for non-Material assets. Materials use the server-owned MATERIAL_IMAGE_PRIMARY provider route."},"gridRows":{"type":"integer","minimum":1,"maximum":16,"description":"Legacy compatibility only. The confirmed semantic plan owns layout. Object Collection and Environment Kit never add items just to fill cells."},"gridCols":{"type":"integer","minimum":1,"maximum":16,"description":"Legacy compatibility only; the confirmed plan decides columns."},"targetTileSize":{"type":"integer","minimum":16,"maximum":512,"description":"Output tile side in px (16-512)."},"perspective":{"type":"string","enum":["orthogonal","isometric","platformer"],"description":"Environment Kit only — legacy three-value camera override. Omit to retain the project’s distinct side, angled top-down, overhead, isometric or adventure camera; request finer camera changes in the prompt."},"tileSize":{"type":"number","enum":[64,128,256],"description":"TERRAIN only — output tile size in px (64, 128 or 256)."},"bgViewType":{"type":"string","enum":["platformer","topdown","topdown_overhead","isometric","point_and_click"],"description":"BACKGROUND only — which view the background is drawn for. Defaults to the project gameType."},"bgType":{"type":"string","enum":["scene","distant_backdrop","depth_layer","foreground_overlay","parallax_far","parallax_mid","parallax_near","platform_scene","static_backdrop","scrolling_backdrop","ground_fill","overhead_map","functional_map","scrolling_floor","parallax_underlay","iso_ground","iso_scene","iso_far","iso_platform_surface","full_scene","room_stage","parallax_strip","platform_scene_front","vista_backdrop"],"description":"REQUIRED for assetType \"background\" — prefer scene (one opaque full scene), distant_backdrop (one opaque far vista), depth_layer (one scenery layer with transparent gaps), or foreground_overlay (transparent edge framing). All four support every camera. One image per call, no automatic parallax pack, collision/navigation or verified seamless repeat. Angled top-down and strict overhead stay distinct; atmospheric vistas need no forced isometric geometry. Preserve project style. Legacy values remain view-specific: platformer → parallax_far/parallax_mid/parallax_near/platform_scene/static_backdrop/scrolling_backdrop; topdown + topdown_overhead → ground_fill/overhead_map/functional_map/scrolling_floor/parallax_underlay; isometric → iso_ground/iso_scene/iso_far/iso_platform_surface; point_and_click → full_scene/room_stage/parallax_strip/platform_scene_front/vista_backdrop. A mismatch, or omitting it, is rejected with 400. Each sub-type runs a different tuned prompt, so this decides what KIND of image you get — a far parallax sky and a functional platform scene are not interchangeable. Ask the user which layer they want if their request does not make it obvious."},"aspectRatio":{"type":"string","enum":["16:9","4:3","1:1","9:16","21:9"],"description":"BACKGROUND only — OPTIONAL, and best left unset: the server applies the recommended ratio for the chosen sub-type (e.g. 21:9 for a parallax layer, 1:1 for a ground fill), which is what the web wizard preselects. Only pass a value if the user asked for a specific shape. 21:9 is the widest and 9:16 the tallest the image model accepts."},"backgroundResolution":{"type":"string","enum":["1K","2K","4K"],"description":"BACKGROUND only — output tier (default 2K). 4K costs more."},"textureKind":{"type":"string","enum":["fill","strip"],"description":"LEGACY compatibility only. New Materials derive platformer/topdown/isometric projection from the project gameType; this value does not change their donor contract."},"runtimeUse":{"type":"string","enum":["plain_image","particle_emitter","deformable_strip","repeat_fill","nine_slice","shader_effect","path_follow"],"description":"OBJECT only (`assetType: \"static\"`; formerly Static Asset). Material is locked to deterministic brush rendering server-side. Declares how the art is meant to be rendered — particle_emitter, deformable_strip, nine_slice or shader_effect — which changes the prompt AND the export metadata. Anything other than plain_image on a non-Object type is rejected. path_follow remains accepted for legacy clients but must not be used for new assets; path motion is configured per placement in the level editor. It can also be set later with set_asset_runtime_intent, for free."},"referenceAssetUrls":{"type":"array","items":{"type":"string"},"maxItems":4,"description":"Up to 4 reference image URLs to condition the generation. URLs only — raw base64 is rejected on this surface."},"planToken":{"type":"string","description":"REQUIRED when dryRun=false. Copy unchanged from the immediately preceding dry-run response."},"dryRun":{"type":"boolean","default":true,"description":"DEFAULTS TO TRUE. While true this returns only a cost quote ({ estimatedCredits, balance, spendCapDaily, spentLast24h, capRemaining }) and executes nothing. Show the user estimatedCredits, then ask a normal confirmation question. Prefer the client's native question UI with Approve / Decline / Discuss choices when available; otherwise accept any unambiguous conversational approval. Never require a fixed phrase or ask the user to type a magic word. Only after approval, re-call with dryRun:false to actually spend."},"idempotencyKey":{"type":"string","minLength":1,"description":"Optional Idempotency-Key for the real (dryRun:false) call. Omit and one is minted per call. Reuse the SAME value when retrying a call that failed with ENTITY_BUSY / 402 / 429 so the retry cannot double-dispatch."}},"required":["projectId","assetType","prompt"],"additionalProperties":false}},{"name":"create_character","description":"PAID (~150 credits). Generate a NEW character from a text prompt. This is the entry point for building art from nothing — call create_project first if the user has no project. Artwork is strictly text-free by default: no labels, captions, lettering or pseudo-text; only specific intrinsic writing explicitly requested by the user is permitted. IMAGE ONLY: it produces the character still, not animations. Animation is a separate explicit step (generate_character_animation for a walk cycle, generate_character_turn for the 360 rotation), because animating costs several times more and the user should choose it. BY DEFAULT it requests FOUR DESIGN VARIATIONS FOR THE SAME PRICE, matching the dashboard. Set generateFourVariations:false only when the user explicitly wants one character. gridRows:2 + gridCols:2 remain the legacy trigger for the same four-character mode; one image call is split by complete character silhouettes, never fixed cells. Four is the expected count, but any result with at least two separate silhouettes succeeds; every clearly separated full character is preserved whether two, three, or more than four are found. Zero or one means the sheet was not extractable and refunds. Show the user every result and let them pick. Returns { jobId, expectedCharacterCount } — poll get_job; on status:\"done\" its characterIds and characterPreviews tell you which characters exist and what they look like. gameType defaults from the project but can be overridden for this character. Use topdown for the Top-Down Angled character pipeline, including characters intended for isometric projects. Passing isometric is accepted as an alias and creates a topdown character because that is the measured working directional pipeline. The STORED CHARACTER gameType — not the project gameType — controls every later animation and whether a user-facing 360 turn is available. A topdown character inside a platformer project therefore keeps the top-down directional pipeline and supports generate_character_turn. DEFAULTS TO A COST PREVIEW — see the dryRun argument.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","description":"REQUIRED. The project the character belongs to — it supplies the default gameType and style."},"prompt":{"type":"string","minLength":1,"maxLength":20000,"description":"What the character is, e.g. \"a plague doctor with a lantern\". Describe the subject, not the art style."},"gameType":{"type":"string","enum":["platformer","topdown","topdown_overhead","isometric","point_and_click"],"description":"Character perspective override. Omit to inherit the project. Use topdown for Top-Down Angled and isometric projects; isometric is mapped to topdown. The stored value controls later animation behavior and 360-turn eligibility."},"style":{"type":"string","description":"Art-style override. Omit to inherit the project's style — usually correct, since a project should look consistent."},"imageModel":{"type":"string","description":"Override the image model. Omit unless the user asked for a specific one."},"characterImageSize":{"type":"string","enum":["2:3","1:1","3:2"],"description":"Aspect ratio of the generated image. Omit for the game-type default."},"cameraAngle":{"type":"number","minimum":30,"maximum":80,"description":"Camera elevation in degrees — only meaningful for angled top-down projects."},"referenceAssetUrls":{"type":"array","items":{"type":"string","format":"uri"},"description":"URLs of existing images to steer the design. URLs only — base64 is rejected by the API."},"generateFourVariations":{"type":"boolean","description":"Defaults to true, matching the dashboard: one image call produces four design variations for the cost of one. Set false only when the user explicitly requests a single character."},"gridRows":{"type":"number","const":2,"description":"Legacy equivalent of the default four-variation mode: set to 2 together with gridCols:2. This is not cut geometry."},"gridCols":{"type":"number","const":2,"description":"Legacy equivalent of the default four-variation mode: set to 2 together with gridRows:2; extraction follows complete silhouettes."},"dryRun":{"type":"boolean","default":true,"description":"DEFAULTS TO TRUE. While true this returns only a cost quote ({ estimatedCredits, balance, spendCapDaily, spentLast24h, capRemaining }) and executes nothing. Show the user estimatedCredits, then ask a normal confirmation question. Prefer the client's native question UI with Approve / Decline / Discuss choices when available; otherwise accept any unambiguous conversational approval. Never require a fixed phrase or ask the user to type a magic word. Only after approval, re-call with dryRun:false to actually spend."},"idempotencyKey":{"type":"string","minLength":1,"description":"Optional Idempotency-Key for the real (dryRun:false) call. Omit and one is minted per call. Reuse the SAME value when retrying a call that failed with ENTITY_BUSY / 402 / 429 so the retry cannot double-dispatch."}},"required":["projectId","prompt"],"additionalProperties":false}},{"name":"create_project","description":"FREE and SYNCHRONOUS (no jobId — do not poll). Creates the container everything else needs: characters and assets are created INSIDE a project, and the project's gameType is what decides how they are drawn and animated. Also seeds a starter level map, so the game preview has something real to render immediately. Call list_projects first — reuse an existing project rather than making a near-duplicate.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"styleGuide":{"type":"object","properties":{"version":{"type":"number","const":1},"direction":{"type":"string","maxLength":2000},"palette":{"type":"object","additionalProperties":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"propertyNames":{"pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,39}$"}},"shapeLanguage":{"type":"string","maxLength":500},"rendering":{"type":"string","maxLength":500},"headingFont":{"type":"object","properties":{"version":{"type":"string","minLength":1,"maxLength":100},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"family":{"type":"string","minLength":1,"maxLength":100},"fontId":{"type":"string","minLength":1,"maxLength":100},"weight":{"type":"integer","minimum":100,"maximum":900},"size":{"type":"number","minimum":8,"maximum":160},"lineHeight":{"type":"number","minimum":1,"maximum":3},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"}},"required":["family","fontId","weight","size","lineHeight","color"],"additionalProperties":false},"bodyFont":{"type":"object","properties":{"version":{"type":"string","minLength":1,"maxLength":100},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"family":{"type":"string","minLength":1,"maxLength":100},"fontId":{"type":"string","minLength":1,"maxLength":100},"weight":{"type":"integer","minimum":100,"maximum":900},"size":{"type":"number","minimum":8,"maximum":160},"lineHeight":{"type":"number","minimum":1,"maximum":3},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"}},"required":["family","fontId","weight","size","lineHeight","color"],"additionalProperties":false},"camera":{"type":"string","enum":["platformer","topdown","topdown_overhead","isometric","point_and_click"]},"references":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":1500},"target":{"type":"string","enum":["overall_style","ui","world_indicators","characters","backgrounds"]}},"required":["key","target"],"additionalProperties":false},"maxItems":12},"lockedColors":{"type":"array","items":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"maxItems":24}},"required":["version","direction","palette","shapeLanguage","rendering","headingFont","bodyFont","camera","references","lockedColors"],"additionalProperties":false,"description":"Reviewed palette, rendering and typography. Saved as active revision 1 for future generations; font IDs must belong to the available catalog. Omit to create without a guide."},"name":{"type":"string","description":"Project name shown in the dashboard."},"gameType":{"type":"string","enum":["platformer","topdown","topdown_overhead","isometric","point_and_click"],"description":"REQUIRED and permanent for everything in the project. platformer = side view with gravity; topdown = 4/8-direction overhead-ish (Zelda-like); topdown_overhead = straight down; isometric = 2:1 diamond; point_and_click = straight-on adventure scenes. Ask the user if it is not obvious — it changes every prompt downstream."},"style":{"type":"string","description":"Optional art-style id applied as the default for generations in this project."},"description":{"type":"string","description":"Optional project description. Feeds the prompt context for later generations."}},"required":["name","gameType"],"additionalProperties":false}},{"name":"create_ui_composition","description":"Create a free static composition of existing icon/frame revisions; indicators and functional widgets remain independent. No new image generation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"packId":{"type":"string","format":"uuid","description":"Owned UI Pack ID."},"name":{"type":"string","minLength":1,"maxLength":120},"width":{"type":"integer","minimum":8,"maximum":2048},"height":{"type":"integer","minimum":8,"maximum":2048},"children":{"type":"array","items":{"type":"object","properties":{"componentId":{"type":"string","format":"uuid","description":"Owned component ID within this pack."},"revisionId":{"type":"string","format":"uuid"},"bounds":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"width":{"type":"number"},"height":{"type":"number"}},"required":["x","y","width","height"],"additionalProperties":false}},"required":["componentId","revisionId","bounds"],"additionalProperties":false},"minItems":1,"maxItems":8}},"required":["packId","name","width","height","children"],"additionalProperties":false}},{"name":"create_ui_pack","description":"Create an empty project-owned UI Pack with its guide snapshot. Free; generation is a separate quoted action.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string"},"name":{"type":"string","minLength":1,"maxLength":120}},"required":["projectId","name"],"additionalProperties":false}},{"name":"duplicate_animation","description":"FREE, synchronous, no AI. Make an exact copy of the CURRENT saved animation under a new slug, preserving its selected frame order, loop/hold settings, compositing, mounts, and rendered pixels. The original is untouched. Returns { jobId: null, animation }; do not poll a job.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"characterId":{"type":"string","description":"Character id."},"animation":{"type":"string","description":"Source animation slug."},"newId":{"type":"string","description":"Slug for the copy ([A-Za-z0-9_-], default \"<source>_copy\")."}},"required":["characterId","animation"],"additionalProperties":false}},{"name":"export_map","description":"Engine-ready map JSON built from the SAVED level data, preserving placement name/gameplayId and baking custom-field values. Every engine retains materialRendering and materialRenderingResolved when present. Bundles include material-rendering.json and bake styled terrain/areas into PNGs: never apply shading twice or replace baked art with raw donor tiles. Pixel materials require nearest filtering without mipmaps; keep semantic terrain for gameplay. GameMaker uses the supplied tizo_draw_tile Draw helper; Tiled consumers configure filtering from metadata. All engine JSON exports retain materialAreas; bundles also retain semantic outlines in material-areas.json, alongside clipped artwork. Never render both as duplicate visuals. Phaser JSON materialAreaSource needs mask/blend rendering in URL mode, not the raw donor rectangle. For the zip bundle (per-tile PNGs, loader scripts, tileset files) use get_export_command instead.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"mapId":{"type":"string","description":"Map id."},"engine":{"type":"string","enum":["tiled","phaser","godot","unity","gamemaker","unreal"],"description":"Target engine (default tiled). Unreal is a beta Paper2D artwork importer; native verification and gameplay integration remain pending."}},"required":["mapId"],"additionalProperties":false}},{"name":"fix_asset_seams","description":"LEGACY ONLY; new Brushable Materials reject this operation because they use world-space sampling. PAID (~100 credits, one image-to-image call). Make an old texture tile seamless. Legacy textures were created as raw grid cells, so CHECK get_asset first: metadata.seamless.seamMetric.pass is a FREE verdict on whether this cell already tiles cleanly, and metadata.seamless.fixed tells you if it was already fixed. Do not spend on a cell that passes. The fix lands as a new current revision. For already-authorized generation, automatically execute a zero-credit recovery quote and poll it; no renewed approval or refund. Never duplicate a running recovery. Limit automatic retries to two per failed job per session; stop on recurring failure or any paid quote. DEFAULTS TO A COST PREVIEW — see the dryRun argument. Returns { jobId } — poll get_job.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"assetId":{"type":"string","description":"Legacy texture asset id or slug (not a Material with a material recipe)."},"iterationId":{"type":"string","description":"Revision (iteration) id to fix."},"dryRun":{"type":"boolean","default":true,"description":"DEFAULTS TO TRUE. While true this returns only a cost quote ({ estimatedCredits, balance, spendCapDaily, spentLast24h, capRemaining }) and executes nothing. Show the user estimatedCredits, then ask a normal confirmation question. Prefer the client's native question UI with Approve / Decline / Discuss choices when available; otherwise accept any unambiguous conversational approval. Never require a fixed phrase or ask the user to type a magic word. Only after approval, re-call with dryRun:false to actually spend."},"idempotencyKey":{"type":"string","minLength":1,"description":"Optional Idempotency-Key for the real (dryRun:false) call. Omit and one is minted per call. Reuse the SAME value when retrying a call that failed with ENTITY_BUSY / 402 / 429 so the retry cannot double-dispatch."}},"required":["assetId","iterationId"],"additionalProperties":false}},{"name":"frame_animation","description":"FREE, and NO AI AT ALL — no video model, no credits, nothing to approve. The tiles of a tileset/staged asset ARE the frames: give the tile indices in playback order (repeats allowed) and they are composited into a real spritesheet animation on that asset, exportable to every engine. This is how you animate a coin flip, a flickering torch or a chest opening WITHOUT paying for image-to-video. Try this before animate_asset whenever the motion already exists across the tiles. Returns a jobId — poll get_job.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"assetId":{"type":"string","description":"Asset id or slug (must be a grid asset: tileset or staged)."},"iterationId":{"type":"string","description":"Revision (iteration) id whose tiles are the frames."},"frameIndices":{"type":"array","items":{"type":"integer","minimum":0},"minItems":2,"maxItems":120,"description":"Tile indices in playback order, e.g. [0,1,2,3,2,1]. At least 2, at most 120. Repeats are allowed — that is how you hold or ping-pong a frame."},"name":{"type":"string","maxLength":60,"description":"Label for the animation (default \"Frames\")."},"fps":{"type":"integer","minimum":1,"maximum":30,"description":"Playback fps (1-30, default 12)."}},"required":["assetId","iterationId","frameIndices"],"additionalProperties":false}},{"name":"generate_character_animation","description":"PAID, and the cost MULTIPLIES BY THE NUMBER OF ANIMATIONS (each is its own image-to-video call, ~400 credits at defaults). All frames are text-free by default: no subtitles, captions or invented writing. This is real motion — a walk cycle, an attack, an idle bob — not the 1-frame still that create_animation_from_pose produces. Read the character's gameType and use the standard animation names for it (get_character shows what already exists); the project gameType is irrelevant after character creation. A topdown character inside a platformer project still uses top-down prompts and directional behavior. A name that already exists is NEVER replaced: the server allocates the next numeric slug (walk → walk_2 → walk_3), and the returned animations list contains the resolved names. Ask the user which animations they want before spending: 4 animations cost 4x. For a topdown character, resolve the animation direction mode BEFORE choosing those animation names. Read animationDirection from get_character and preselect its Luna-classified mode; let the user override it. Pass animationDirectionMode on both the dry run and confirmed request: overhead uses one engine-rotated sprite with base action names and no 360; four_direction uses S/N/E/W rows with FREE four-pose image setup; eight_direction also uses diagonals and keeps the regular 360 video setup (+200 credits when newly needed). Overhead setup is free; animation videos are priced separately. Setup and Luna run only after animation generation is confirmed; the server creates the poses and automatically assigns matching facings without pose approval for four_direction, then continues animation generation. Poll all operation jobs while queued or running; an approved directionalPoseReview is a completion record, not a user checkpoint. The chosen mode is saved on the character. A missing classification is not permission to guess silently. Every animation defaults to 2 seconds, including walks, runs, attacks, and loops. Omit animDurations and customAnims[*].duration unless the user explicitly asks for a different clip length; never infer a longer duration from the motion or from the fact that it loops. If the character came from a successful 2x2 create, there may be two, three, four, or more siblings and animating is per-character: show the user the characterPreviews from get_job and have them pick one before you spend. For multi-direction sets, mirrorAnims gives you FREE flipped copies of a direction generated in the same call (walk_left from walk_right) — prefer a real generation when the character is asymmetric, because a held item switches sides under a mirror. The server uses the standard pose-aware animation pipeline for new requests; there is no flag argument to set. When the user wants stored poses as the actual video endpoints, call list_character_poses and pass their ids through poseFirstFrameIds / poseLastFrameIds. Omit those maps to let the server plan anchors automatically; never pass a pose URL. Before each new clip the server classifies the effective anchor as empty-handed, held, or unclear and adds the matching inventory-preservation lock automatically; there is no inventory argument to send. For platformer walk/run, the server-created cached mid-walk anchor pose is FREE; explicit pose generation remains paid. For eight-direction and legacy video-based topdown/isometric clips with targetFacings, automatic planning uses one cached standing internal 360 rotation for every action, including custom actions; its one-time surcharge is included in the dry-run quote. Do NOT call generate_character_turn merely to prepare an animation — that explicit visible turn is a separate action. When that internal 360 is needed, the job pauses at waiting_approval before any animation video starts. Present directionalPoseReview from get_job and call approve_directional_poses only after the user accepts the full set, including explicit confirmation to use any candidates they did not review individually. The dry-run response includes animationPipelineAssignmentToken; copy it verbatim into the confirmed call so the quoted pipeline decision cannot change while the user is deciding. If it expires, run the same dry-run again. The same response includes preflight with per-animation resolved names, durations and credits; setup and total credits; model resolution; runtime frame size; and explicit unknown-until-generated frame count/FPS/ETA. Show that structured preview instead of inventing precision. API-key calls can use the account's full wallet balance; the dashboard-only 600-credit limit and its first-animation exception do not apply. The independent key spend cap, paid-attempt ceiling, and ordinary wallet balance still apply. Returns { jobId, animations, operations, rejectedOperations? }; jobId is the first operation only for backward compatibility. Poll, retry, or cancel every operations[].jobId independently. When an operation reaches done, it returns an animationQualityGate requiring get_character; finish that review/repair loop before exporting or saying the animation is ready. A prompt that composes too long for the model is rejected with PROMPT_TOO_LONG before anything is charged, and the response names the animation. Check isTemplate on that entry: false means YOUR text is what is long, so shorten it; true means the shipped template is over the ceiling and no prompt you send can fix it — report it rather than retrying. DEFAULTS TO A COST PREVIEW — see the dryRun argument.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"characterId":{"type":"string","description":"Character id."},"animationPipelineAssignmentToken":{"type":"string","description":"Opaque server proof returned by this tool's dry-run. Copy it verbatim into the confirmed dryRun:false call; never create or edit it. If the server reports ANIMATION_PIPELINE_ASSIGNMENT_EXPIRED, preview again."},"animations":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":16,"description":"Animation slugs to generate, e.g. [\"walk_right\",\"idle\"]. REQUIRED — each one is a separate paid video call."},"videoModel":{"type":"string","description":"Override the video model."},"animPrompts":{"type":"object","additionalProperties":{"type":"string"},"description":"Per-animation extra guidance, keyed by animation slug. Folded into that animation's composed prompt."},"animDurations":{"type":"object","additionalProperties":{"type":"number","minimum":2,"maximum":10},"description":"USER-REQUESTED OVERRIDES ONLY (2-10s). Omit this field by default: every animation, including walks and loops, defaults to 2s. Never choose a longer clip unless the user explicitly requested that duration. Longer clips cost more."},"customAnims":{"type":"object","additionalProperties":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"description":"What the motion is."},"loop":{"type":"boolean","description":"Should it loop seamlessly."},"duration":{"type":"number","minimum":2,"maximum":10,"description":"USER-REQUESTED OVERRIDE ONLY. Omit for the 2s default, even for a looping animation."},"keepDirection":{"type":"boolean","description":"Lock the facing direction of the start frame."},"anchorToGround":{"type":"boolean","description":"Pin each output frame to its visible feet so game physics owns vertical movement."}},"required":["prompt"],"additionalProperties":false},"description":"Define animations that are NOT part of the game type's standard set, keyed by the new slug."},"poseFirstFrameIds":{"type":"object","additionalProperties":{"type":"string","minLength":1},"description":"Optional per-animation START anchor pose ids, keyed by animation slug. Resolve ids with list_character_poses and use only status:\"done\" poses. Omit an entry to let the server choose/generate its anchor."},"poseLastFrameIds":{"type":"object","additionalProperties":{"type":"string","minLength":1},"description":"Optional per-animation END anchor pose ids, keyed by animation slug. Resolve ids with list_character_poses and use only status:\"done\" poses. The same pose id may be used for both endpoints of a loop."},"targetFacings":{"type":"object","additionalProperties":{"type":"string","enum":["s","se","e","ne","n","nw","w","sw"]},"description":"Camera-relative facing per animation slug (n, ne, e, se, s, sw, w, nw). Omit for overhead; four_direction accepts only n/e/s/w. Use this for custom actions and any standard action whose slug does not itself encode the intended direction."},"animationDirectionMode":{"type":"string","enum":["overhead","four_direction","eight_direction"],"description":"Choose this BEFORE selecting animations for a topdown character and pass it on dry-run plus confirmation. Preselect get_character.animationDirection.mode when present (Luna suggestion; user may override). overhead uses one rotatable true-overhead sprite, base action names, and no 360; four_direction uses S/N/E/W animations; eight_direction also uses NE/SE/SW/NW. The confirmed choice is saved on the character."},"mirrorAnims":{"type":"object","additionalProperties":{"type":"string","minLength":1},"description":"FREE mirrored copies, keyed newName → sourceName (e.g. { \"walk_left\": \"walk_right\" }). The source must be in this call's animations list; its fresh frames are flipped in the same job at no extra cost."},"dryRun":{"type":"boolean","default":true,"description":"DEFAULTS TO TRUE. While true this returns only a cost quote ({ estimatedCredits, balance, spendCapDaily, spentLast24h, capRemaining }) and executes nothing. Show the user estimatedCredits, then ask a normal confirmation question. Prefer the client's native question UI with Approve / Decline / Discuss choices when available; otherwise accept any unambiguous conversational approval. Never require a fixed phrase or ask the user to type a magic word. Only after approval, re-call with dryRun:false to actually spend."},"idempotencyKey":{"type":"string","minLength":1,"description":"Optional Idempotency-Key for the real (dryRun:false) call. Omit and one is minted per call. Reuse the SAME value when retrying a call that failed with ENTITY_BUSY / 402 / 429 so the retry cannot double-dispatch."}},"required":["characterId","animations"],"additionalProperties":false}},{"name":"generate_character_turn","description":"PAID (200 credits — ONE 2-second rotation video), except retrying the exact failed job is FREE while its provider task/result or validated stored source survives. The default dry run reports 0 credits and recovery:\"stored_artifact\" in that case; confirmation revives the same job and never starts another paid provider task. Spins the character through a full 360 so the sprite exists from every side; its frames are also what the directional-pose extractor reads, which is what makes top-down characters usable in more than one facing (isometric projects use top-down characters). ONLY topdown and isometric characters are supported — any other game type errors 400 TURN_NOT_SUPPORTED (topdown_overhead: the engine rotates the sprite image; platformer/point_and_click: side/front views, mirror instead). Eligibility reads the STORED CHARACTER gameType, not its project: a topdown character inside a platformer project is supported. This explicit visible turn is separate from the internal mid-walk rotation that generate_character_animation may plan for eligible directional walk/run clips; do not call it as mandatory setup for every animation. Lands as the animation \"turn\", or \"turn_<seedPoseId>\" when seeded from a pose. An existing turn is NEVER replaced: an occupied name becomes turn_2, turn_3, and so on. It 409s (ENTITY_BUSY) while ANY other job is running on the character, because it rebuilds the spritesheet: poll that job first. Returns { jobId, animation, resumed } — poll get_job. A successful standalone 360 finishes at done after its animation is rebuilt; it does not open the directional-pose approval checkpoint. Only an internal 360 planned by generate_character_animation pauses for directionalPoseReview before dependent animation videos start. If a retained provider URL is repeatedly proven expired, support may set discardPendingResult:true and preview again; that explicit escape abandons the stale result and is a new paid generation. DEFAULTS TO A COST PREVIEW — see the dryRun argument.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"characterId":{"type":"string","description":"Character id."},"seedPoseId":{"type":"string","description":"Rotate a specific DONE pose instead of the character's default image. Lands as \"turn_<poseId>\"."},"discardPendingResult":{"type":"boolean","description":"Support escape hatch only: true abandons a repeatedly expired/unusable failed provider result and previews/starts a new paid turn. Omit for normal free recovery."},"dryRun":{"type":"boolean","default":true,"description":"DEFAULTS TO TRUE. While true this returns only a cost quote ({ estimatedCredits, balance, spendCapDaily, spentLast24h, capRemaining }) and executes nothing. Show the user estimatedCredits, then ask a normal confirmation question. Prefer the client's native question UI with Approve / Decline / Discuss choices when available; otherwise accept any unambiguous conversational approval. Never require a fixed phrase or ask the user to type a magic word. Only after approval, re-call with dryRun:false to actually spend."},"idempotencyKey":{"type":"string","minLength":1,"description":"Optional Idempotency-Key for the real (dryRun:false) call. Omit and one is minted per call. Reuse the SAME value when retrying a call that failed with ENTITY_BUSY / 402 / 429 so the retry cannot double-dispatch."}},"required":["characterId"],"additionalProperties":false}},{"name":"generate_pose","description":"PAID (~150 credits). Generate a new pose for a character from a text description. DEFAULTS TO A COST PREVIEW — see the dryRun argument. Returns { poseId } once executed; poses have no jobId, so poll list_character_poses until status is done or error.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"characterId":{"type":"string","description":"Character id."},"name":{"type":"string","minLength":1,"description":"Short pose name, e.g. \"casting\"."},"poseDescription":{"type":"string","minLength":1,"description":"What the character should be doing, e.g. \"kneeling, shield raised\"."},"imageModel":{"type":"string","description":"Override the image model."},"referencePoseId":{"type":"string","description":"Seed from an existing DONE pose instead of the base image."},"dryRun":{"type":"boolean","default":true,"description":"DEFAULTS TO TRUE. While true this returns only a cost quote ({ estimatedCredits, balance, spendCapDaily, spentLast24h, capRemaining }) and executes nothing. Show the user estimatedCredits, then ask a normal confirmation question. Prefer the client's native question UI with Approve / Decline / Discuss choices when available; otherwise accept any unambiguous conversational approval. Never require a fixed phrase or ask the user to type a magic word. Only after approval, re-call with dryRun:false to actually spend."},"idempotencyKey":{"type":"string","minLength":1,"description":"Optional Idempotency-Key for the real (dryRun:false) call. Omit and one is minted per call. Reuse the SAME value when retrying a call that failed with ENTITY_BUSY / 402 / 429 so the retry cannot double-dispatch."}},"required":["characterId","name","poseDescription"],"additionalProperties":false}},{"name":"generate_project_intake","description":"PAID but very cheap and SYNCHRONOUS. Use this for a broad game vision, story, or mood before create_project. Returns a proposed project name, game type, art style, world description, creative guidance, and a validated styleGuide object ready to pass unchanged to create_project. It stores nothing and does not create assets. Afterward, inspect the game repository and propose an MVP art plan before any image or animation spend. Skip this tool when the user already supplied a complete project/style guide or asked for one specific asset. DEFAULTS TO A COST PREVIEW — see the dryRun argument.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"description":{"type":"string","minLength":1,"description":"The game vision in the user's own words: story, mechanics, setting, mood, and audience."},"nameHint":{"type":"string","description":"Optional working title. Explicit user choices win over inference."},"gameTypeHint":{"type":"string","enum":["platformer","topdown","topdown_overhead","isometric","point_and_click"],"description":"Optional locked gameplay camera/type."},"styleHint":{"type":"string","description":"Optional locked art direction."},"references":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","description":"Reference image URL."},"tag":{"type":"string","description":"What this reference controls, such as palette, character, or environment."},"name":{"type":"string","description":"Optional label."}},"required":["url","tag"],"additionalProperties":false},"maxItems":6},"dryRun":{"type":"boolean","default":true,"description":"DEFAULTS TO TRUE. While true this returns only a cost quote ({ estimatedCredits, balance, spendCapDaily, spentLast24h, capRemaining }) and executes nothing. Show the user estimatedCredits, then ask a normal confirmation question. Prefer the client's native question UI with Approve / Decline / Discuss choices when available; otherwise accept any unambiguous conversational approval. Never require a fixed phrase or ask the user to type a magic word. Only after approval, re-call with dryRun:false to actually spend."},"idempotencyKey":{"type":"string","minLength":1,"description":"Optional Idempotency-Key for the real (dryRun:false) call. Omit and one is minted per call. Reuse the SAME value when retrying a call that failed with ENTITY_BUSY / 402 / 429 so the retry cannot double-dispatch."}},"required":["description"],"additionalProperties":false}},{"name":"generate_project_vision","description":"PAID but very cheap (one configured text-model call) and SYNCHRONOUS — the result comes back in this response, there is no jobId to poll. Turns a rough game idea into { aiVision, aiPromptGuidance, aiNegativeGuidance }: a written creative direction plus the positive/negative guidance to reuse in later prompts, which is what keeps a whole project visually consistent instead of every asset drifting. Stores NOTHING — feed the wording into create_project (description/style) and into your own prompts. DEFAULTS TO A COST PREVIEW — see the dryRun argument.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"description":"Working title of the game."},"gameType":{"type":"string","enum":["platformer","topdown","topdown_overhead","isometric","point_and_click"],"description":"The view the game is played in — the brief is written for it."},"description":{"type":"string","description":"The idea in the user's own words: setting, mood, mechanics."},"style":{"type":"string","description":"Art style, if the user already has one in mind."},"references":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","description":"Reference image URL."},"tag":{"type":"string","description":"What this reference is for, e.g. \"character\", \"palette\", \"environment\"."},"name":{"type":"string","description":"Optional label."}},"required":["url","tag"],"additionalProperties":false},"maxItems":6,"description":"Up to 6 tagged reference images the model can look at."},"dryRun":{"type":"boolean","default":true,"description":"DEFAULTS TO TRUE. While true this returns only a cost quote ({ estimatedCredits, balance, spendCapDaily, spentLast24h, capRemaining }) and executes nothing. Show the user estimatedCredits, then ask a normal confirmation question. Prefer the client's native question UI with Approve / Decline / Discuss choices when available; otherwise accept any unambiguous conversational approval. Never require a fixed phrase or ask the user to type a magic word. Only after approval, re-call with dryRun:false to actually spend."},"idempotencyKey":{"type":"string","minLength":1,"description":"Optional Idempotency-Key for the real (dryRun:false) call. Omit and one is minted per call. Reuse the SAME value when retrying a call that failed with ENTITY_BUSY / 402 / 429 so the retry cannot double-dispatch."}},"required":["name","gameType"],"additionalProperties":false}},{"name":"generate_ui_pack","description":"Get 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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"packId":{"type":"string","format":"uuid","description":"Owned UI Pack ID."},"request":{"type":"object","properties":{"requestId":{"type":"string","minLength":8,"maxLength":128},"components":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["icon","frame","panel","bar","control","indicator"]},"role":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"quantity":{"type":"integer","minimum":1,"maximum":64},"method":{"type":"string","enum":["recommended","illustrated","vector"],"default":"recommended"},"indicatorAttachment":{"type":"string","enum":["ground","actor","screen"],"description":"World indicators only. Ground follows the project camera; actor and screen remain flat. Omitted means ground."},"requiredCapabilities":{"type":"array","items":{"type":"string","enum":["artwork","hollow","fill","resize","text","states","projection"]},"default":["artwork"]}},"required":["kind","role","name","description","quantity"],"additionalProperties":false},"minItems":1,"maxItems":64}},"required":["requestId","components"],"additionalProperties":false},"quote":{"type":"object","additionalProperties":{},"description":"Unmodified signed quote returned by the dry-run. Required when dryRun is false."},"dryRun":{"type":"boolean","default":true,"description":"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."},"idempotencyKey":{"type":"string","minLength":8,"maxLength":128,"description":"Reuse the same key when retrying a confirmed request."}},"required":["packId"],"additionalProperties":false}},{"name":"get_asset","description":"One asset with its revision iterations and typed animation projection. Accepts the asset id OR its slug. New Material assets use the wire-compatible `texture` type and expose a typed `material` block containing the versioned donor recipe and its platformer, topdown, or isometric projection. Legacy textures may instead carry metadata.seamless.seamMetric and support fix_asset_seams. Generation Contract assets expose `generationPlan` plus `extraction`. `extraction.status:\"exact\"` means the planned number of logical foreground objects was recovered; `\"recovered\"` means small detached decorations were safely grouped; `\"needs_review\"` preserves every detected object and carries a warning instead of silently deleting or inventing one. `grid.tiles[].url` returns each extracted object as its own transparent PNG; the grid is a rebuilt presentation layout, not the geometry used to cut the model output. Legacy assets without `extraction` retain their historical fixed-grid metadata and should still be reviewed with the old grid fields. Backgrounds carry a `background` block echoing the sub-type, view and the aspect ratio actually generated — read it back to confirm the shape when you left aspectRatio unset.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"assetId":{"type":"string","description":"Asset id or slug."}},"required":["assetId"],"additionalProperties":false}},{"name":"get_character","description":"The full PhaserCharacter JSON: animations, frameSize, gameType, animationDirection, per-group atlas + spritesheet URLs, poses and mount points. For topdown characters, animationDirection is Luna's saved mode suggestion or the user's last override; preselect it before asking for overhead, four-direction, or eight-direction animation generation. The top-level animationQualityGate is the delivery verdict per animation: ready:true means its deliveredIssues list is empty; needs_review means follow its actions before claiming the animation is ready; unscored means inspect the frames because no machine score can certify it. Check collision automatically: while an animation plays use animations[activeName].collisionBody before the character-level collisionBody; while displaying a pose use pose.collisionBody first. Fall back to a bbox only when the resolved body is absent. Bodies are normalized to the FULL untrimmed frameSize — never subtract atlas spriteSourceSize/alpha-trim offsets. Every binary URL is presigned and expires in ~1h — download immediately, never store or commit one. The in-app preview exercises shared export data, but validate the downloaded bundle and its supplied loader in the target engine before shipping.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"characterId":{"type":"string","description":"Character id."}},"required":["characterId"],"additionalProperties":false}},{"name":"get_character_manifest","description":"The self-describing export contract (tizo-export.json manifest + its JSON Schema) without downloading the zip. Use this to learn the Phaser integration shape and field meanings before wiring an export into a game project. Its files[] is a logical canonical inventory, not an exact archive listing; use get_export_command and read the downloaded zip's tizo-export.json when exact shipped contents matter.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"characterId":{"type":"string","description":"Character id."}},"required":["characterId"],"additionalProperties":false}},{"name":"get_credits","description":"Current credit balance, and optionally the recent ledger. Every ledger entry carries apiKeyId/apiKeyName so you can see exactly what THIS key spent. Check the balance before proposing any paid generation. When the balance will not cover what the user wants, say what IS affordable rather than only that they are short — \"1200 for all three animations, you have 900, so two now or top up for all three\" is the useful answer. API-key calls can use the account's full wallet balance; the dashboard-only 600-credit experiment and its activation exception do not apply. freeCreditLimit therefore reports applies:false with exemptionReason:\"api_key\". Two remaining walls need OPPOSITE advice: running out of BALANCE is fixed by buying credits (the 402 carries a topUpUrl — send that link, never quote prices, they change), while hitting the key's DAILY SPEND CAP is not a money problem at all — the credits are already in the account, and the fixes are raising the cap or waiting for resetsAt. Never suggest a purchase for a cap trip. If the user asks HOW to raise the cap: the 403 carries capSettingsUrl — give them that link and tell them to edit the key there. YOU cannot change it, by design: the cap edit needs a logged-in session and is unreachable with an API key, because a key that could raise its own cap would not be a cap. Do not retry hoping it passes, and do not ask them to paste credentials.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"includeLedger":{"type":"boolean","description":"Also return recent ledger entries."},"limit":{"type":"integer","minimum":1,"maximum":500,"description":"Max items to return (default 100, max 500)."},"apiKeyId":{"type":"string","description":"Filter ledger entries to one key (UUID)."}},"additionalProperties":false}},{"name":"get_custom_fields","description":"Typed custom-field definitions for a character or asset, plus the derived builtins ($animation for characters, $autoplay/$loop for animated assets). Per-placement VALUES ride on get_map; map exports bake resolved values and ship fields-schema.json. Read-only here — definitions are edited in the dashboard.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"kind":{"type":"string","enum":["character","asset"],"description":"Which entity table to read."},"entityId":{"type":"string","description":"Character id, or asset id/slug."}},"required":["kind","entityId"],"additionalProperties":false}},{"name":"get_export_command","description":"Build the authenticated download URL + a ready-to-run curl line for a zip export (character engine bundle, asset bundle, or map bundle). Run the curl in your own shell — zips are multi-MB binaries and must not be passed through the model. Phaser character exports may select size 512, 256, 128, or 64; the selected sheet/atlas pairs keep canonical size-agnostic filenames. Sparrow XML is character-only: preserve the bundle's Sparrow prefixes and multisparrow assetPath routing. This tool exports whole characters, not a dashboard single-animation selection. Requires SPRITESHIP_API_KEY to be set in that shell.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"target":{"type":"string","enum":["character","asset","map"],"description":"What to export."},"entityId":{"type":"string","description":"Character id, asset id/slug, or map id."},"engine":{"type":"string","enum":["phaser","godot","unity","gamemaker","fnf","unreal","tiled"],"description":"Target engine. \"fnf\" is characters only and emits Sparrow PNG/XML plus character JSON. \"tiled\" is maps only; sprites have no Tiled emitter. \"unreal\" is beta Paper2D artwork/flipbook import, not automatic gameplay or native-engine certification."},"size":{"type":"string","enum":["512","256","128","64"],"description":"Phaser character exports only — narrow the zip to one downscale variant. Godot, Unity, GameMaker, Unreal and Sparrow XML use full-resolution source frames; omit size for them."}},"required":["target","entityId","engine"],"additionalProperties":false}},{"name":"get_frames","description":"Presigned per-frame thumbnails for a character animation or an asset motion pair — never inline base64. Use format:\"sheet\" to get ONE index-labeled contact sheet, which lets you judge a whole capture in a single look; that is the intended way to pick which frames to keep before calling select_frames.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"target":{"type":"string","enum":["character","assetPair"],"description":"Frames of a character animation, or of an asset motion pair."},"entityId":{"type":"string","description":"Character id (target=character) or asset id/slug (target=assetPair)."},"animation":{"type":"string","description":"Animation slug — required when target=character."},"pairId":{"type":"string","description":"Motion pair id — required when target=assetPair."},"size":{"anyOf":[{"type":"integer","minimum":16,"maximum":1024},{"type":"string","const":"full"}],"description":"Max thumbnail edge (default 256, cap 1024). \"full\" opts out of downscaling."},"indices":{"type":"string","description":"Comma-separated frame indices to subset, e.g. \"0,4,8\"."},"format":{"type":"string","enum":["thumbnails","sheet"],"description":"\"sheet\" returns one labeled contact sheet."}},"required":["target","entityId"],"additionalProperties":false}},{"name":"get_integration_status","description":"Free advisory version check. Call once when starting SpriteShip work in a session, passing the version actually read from the installed skill; omit it when unknown. Report an available update with its release summary and manual update guide once, then continue compatible work. Unknown is not outdated; never downgrade a newer local copy. Does not install files, grant permissions, spend credits or require an update.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"installedSkillVersion":{"type":"string","pattern":"^(0|[1-9]\\d{0,5})\\.(0|[1-9]\\d{0,5})\\.(0|[1-9]\\d{0,5})$","description":"Stable major.minor.patch version from the installed SpriteShip instructions; omit for unversioned or unknown copies."}},"additionalProperties":false}},{"name":"get_job","description":"Poll a background job. Every write tool that returns a jobId is polled here. On status:\"error\" the response is enriched with failureKind, failureAction, attempt-scoped creditsRefunded, retryCost, retryMode, and retryRecovery. If failureAction is edit_input, change the prompt or reference inputs and create a new generation instead of calling retry. Poll every few seconds — generations routinely take minutes. THIS IS HOW YOU LEARN WHAT A CREATE CALL MADE: characterIds / assetIds list the entities this job produced — ONE normally, FOUR when create_character ran with the 2x2 variation grid — and on status:\"done\" characterPreviews carries a presigned image per character so you can show the user the options and let them pick. IMPORTANT FOR CHARACTER ANIMATION JOBS: status:\"done\" means processing finished, not that the animation is ready. The response carries animationQualityGate.status:\"check_required\" with the affected animationNames; you MUST call get_character and resolve each affected animation until its gate is ready (or report that it needs review). Do not export, sync, or claim completion before this check. queued:true means it has not started yet (waiting for a slot) and has spent nothing. On any TERMINAL status (done or error) the response carries a `credits` block — { charged, refunded, net, balance, spendCapDaily, spentLast24h, capRemaining }. TELL THE USER `credits.net` AND `credits.balance` when the work finishes, in one short line. Report `net`, never your own pre-flight estimate: the two differ routinely — a 2x2 grid is ONE charge for four entities and failed steps are refunded — so quoting the estimate can report a cost that never happened. Do NOT attach a purchase suggestion to a successful generation; only raise buying credits when a call is actually blocked or the balance will not cover what the user asked for next.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"jobId":{"type":"string","description":"Job id."}},"required":["jobId"],"additionalProperties":false}},{"name":"get_map","description":"A map row plus its saved level data. Every placement has an immutable internal id and may have a user-authored mapData.materialRendering v1 snapshots the art style with optional profile, edgeMode and pixelSize overrides. Preserve it; it affects materials only, never geometry/physics. Hard edges suppress feathering without deleting saved blend widths. Absent settings retain original appearance. materialArea v1 visual fill: preserve its closed shape, material revision, repeatSize and blendWidthPx (inherits layer materialAreaBlendPx, default 16). Areas imply no swimming, damage or collision. Terrain layer can contain both materialGrid cells and materialArea objects: draw cells first, then shapes in array order. Honor materialArea.hidden. Terrain stays above Background and below object layers. Each placement can have a name plus map-unique gameplayId for game-code references; layers, Navigation paths, and per-placement custom-field values are included. Terrain materialGrid cells include elevation and continuous ramps; appearance.elevationShading (0–1, default 0.35) controls slope lighting, opaque cliff shading, and height-edge cues together, not collision. Zero disables all elevation lighting. Cell dimensions are authoritative; editor grid guides are not saved. Returns mapData:null when the map has never been saved.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"mapId":{"type":"string","description":"Map id."}},"required":["mapId"],"additionalProperties":false}},{"name":"get_project","description":"One project with its description, registered mount slots, and saved style guide. The legacy assetSuggestions field is currently always null because automatic suggestions are disabled; do not poll for it.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","description":"Project id."}},"required":["projectId"],"additionalProperties":false}},{"name":"get_project_style_guide","description":"Read the current guide; old projects without an adopted guide receive an initial suggestion. Existing assets retain their saved guide versions.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string"}},"required":["projectId"],"additionalProperties":false}},{"name":"get_subscription_allowances","description":"Read the currently enabled subscriber benefits and their separate monthly limits, caps and balances. Disabled benefits return zeroed values and cannot be used. Unused units accumulate up to three monthly grants while the feature is enabled. These are not generation credits.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false}},{"name":"get_ui_pack","description":"Read components, immutable revisions, capabilities, fonts and batch progress. Artwork URLs expire; native engine capability gaps are not successful tests.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"packId":{"type":"string","format":"uuid","description":"Owned UI Pack ID."}},"required":["packId"],"additionalProperties":false}},{"name":"get_ui_pack_batch","description":"Read one paid batch and retained source URL; provider completion does not prove usable component delivery.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"packId":{"type":"string","format":"uuid","description":"Owned UI Pack ID."},"batchId":{"type":"string","format":"uuid"}},"required":["packId","batchId"],"additionalProperties":false}},{"name":"get_ui_pack_batch_recovery","description":"Read original PNG dimensions, expiring image URL, source hash, and exact delivered/missing slots for an illustrated batch needing review. Inspect artwork before choosing crops.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"packId":{"type":"string","format":"uuid","description":"Owned UI Pack ID."},"batchId":{"type":"string","format":"uuid"}},"required":["packId","batchId"],"additionalProperties":false}},{"name":"get_ui_pack_export_command","description":"Return an authenticated curl command for a whole/selected UI Pack ZIP or component source. Run locally; never put multi-MB ZIP data into model context. Phaser has browser behavior coverage; Godot/Unity native acceptance is pending; GameMaker/Unreal deliver artwork, Tiled transports metadata. Recovery artworkOnly must be explicit.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"packId":{"type":"string","format":"uuid","description":"Owned UI Pack ID."},"engine":{"type":"string","enum":["phaser","godot","unity","gamemaker","unreal","tiled"],"default":"phaser"},"componentIds":{"type":"array","items":{"type":"string","format":"uuid","description":"Owned component ID within this pack."}},"artworkOnly":{"type":"boolean","default":false},"sourceComponentId":{"type":"string","format":"uuid","description":"Owned component ID within this pack."},"sourceFormat":{"type":"string","enum":["svg","png"],"default":"png"}},"required":["packId"],"additionalProperties":false}},{"name":"import_asset_image","description":"Free imports: import ONE still PNG or WebP as an Object or Character. Unlimited for every account, including free users, with zero credits and no subscription or allowance check. Before uploading, tell the user: transparency required, one clear complete subject, clean edges, consistent project style and camera, no text/watermark, up to 10 MB and 4096px per side; recommend 256px or more except intentional pixel art. No videos, GIFs or animated files; upload does not remove backgrounds or fix quality. Set confirmed only after this notice and approval. For local files, prefer POST /api/v1/asset-imports multipart file/projectId/name/kind/requestId rather than passing large base64 through model context. Persist requestId for safe network retries.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string"},"name":{"type":"string","minLength":1,"maxLength":100},"kind":{"type":"string","enum":["static","character"]},"requestId":{"type":"string","format":"uuid"},"imageBase64":{"type":"string"},"confirmed":{"type":"boolean"}},"required":["projectId","name","kind","requestId","imageBase64"],"additionalProperties":false}},{"name":"list_assets","description":"Assets (Object / Object Collection / staged / background / Environment Kit / Terrain Materials) with slug, hasAnimation, updatedAt, tags and favourite. Wire types remain tileset for collections, terrain for kits and texture for brushable materials. Object was formerly called Static Asset; its API type remains `static`. hasAnimation is data-derived: ANY asset type can carry an animation, so never infer it from the type.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","description":"Restrict to one project."},"type":{"type":"string","enum":["static","tileset","staged","background","terrain","texture"],"description":"Filter by asset type. Use `static` for Object (formerly Static Asset)."},"name":{"type":"string","description":"Case-insensitive substring filter on the name."},"slug":{"type":"string","description":"Exact slug match (a slug is an identifier — no partial hits)."},"limit":{"type":"integer","minimum":1,"maximum":500,"description":"Max items to return (default 100, max 500)."}},"additionalProperties":false}},{"name":"list_character_poses","description":"All poses on a character: { id, name, prompt, status pending|done|error, url, direction, pendingSince, errorCode, creditsRefunded }. This is the poll target after generate_pose — pose generation has no job id. It is also the source of ready pose ids for generate_character_animation poseFirstFrameIds / poseLastFrameIds. A pose still pending long after pendingSince is stalled, not working.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"characterId":{"type":"string","description":"Character id."}},"required":["characterId"],"additionalProperties":false}},{"name":"list_characters","description":"Characters with the re-sync signals: contentVersion (opaque change token — compare for equality, never parse or order), hasActiveJob, apiReady, pose/animation counts, tags, favourite. Persist contentVersion per character and re-fetch only when it changes.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","description":"Restrict to one project."},"name":{"type":"string","description":"Case-insensitive substring filter on the name."},"limit":{"type":"integer","minimum":1,"maximum":500,"description":"Max items to return (default 100, max 500)."}},"additionalProperties":false}},{"name":"list_maps","description":"Level-editor maps with updatedAt and hasMapData. hasMapData:false means the map was never saved and cannot be exported.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","description":"Restrict to one project."},"limit":{"type":"integer","minimum":1,"maximum":500,"description":"Max items to return (default 100, max 500)."}},"additionalProperties":false}},{"name":"list_projects","description":"All of the user's projects: { id, name, gameType, style, itemCount, createdAt, updatedAt }. gameType (platformer / topdown / topdown_overhead / isometric / point_and_click) is the default perspective for new content — read it before generating anything. A character may override that default at creation; afterward its stored character gameType controls its own animation and turn behavior.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":500,"description":"Max items to return (default 100, max 500)."}},"additionalProperties":false}},{"name":"list_ui_fonts","description":"Read the retained licensed Google Fonts catalog. Existing font selection, preview and export cost zero customer credits.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false}},{"name":"list_ui_packs","description":"List owned UI Packs, optionally within a project.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string"}},"additionalProperties":false}},{"name":"mirror_animation","description":"FREE, no AI. Flip every cached frame of ONE animation horizontally and rebuild it — the cheap way to get walk_left from walk_right. NOT idempotent: calling it twice flips the animation back to its original orientation, so call it once and check the result before calling again. Frame count and order are preserved, so any frame selection stays valid. To keep BOTH directions, call duplicate_animation first and mirror the copy. Returns { jobId, mirrored } (frames flipped) — poll get_job.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"characterId":{"type":"string","description":"Character id."},"animation":{"type":"string","description":"Animation slug to flip in place."}},"required":["characterId","animation"],"additionalProperties":false}},{"name":"phase_split","description":"FREE, no AI. Carve ONE multi-state clip into separate game-phase animations by frame windows — the classic case is a jump becoming crouch/rise/fall/land, with fall looping while airborne and the rest playing once. Each phase becomes a real exportable animation; the source animation is untouched. Jump-family animations often carry a ready-made suggestion: get_character → animations[<anim>].phaseProposal — pass its phases through verbatim. Frame windows index the FULL capture. Returns { jobId, created } — poll get_job.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"characterId":{"type":"string","description":"Character id."},"animation":{"type":"string","description":"Source animation slug (e.g. \"jump\")."},"phases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-zA-Z0-9_-]+$","description":"Slug for the new phase animation ([A-Za-z0-9_-])."},"startFrame":{"type":"integer","minimum":0,"description":"First frame of the window (inclusive), indexing the FULL capture."},"endFrame":{"type":"integer","minimum":0,"description":"Last frame of the window (inclusive)."},"loop":{"type":"boolean","description":"Whether the phase loops (true for an airborne fall) or plays once."},"label":{"type":"string","maxLength":120,"description":"Human-facing label."},"role":{"type":"string","maxLength":32,"description":"Phase role from the proposal, e.g. \"crouch\" / \"rise\" / \"fall\" / \"land\"."}},"required":["id","startFrame","endFrame","loop"],"additionalProperties":false},"minItems":2,"maxItems":6,"description":"2-6 phase windows. animations[<anim>].phaseProposal from get_character usually supplies these verbatim."}},"required":["characterId","animation","phases"],"additionalProperties":false}},{"name":"plan_sync","description":"Compare the versions in assets/spriteship/spriteship.lock.json with current SpriteShip state in one call. Returns unchanged/changed/unavailable per character, asset, map, or UI pack; exact animation frame-count/FPS/collision, revision, runtime-intent, map-shape and UI component summaries when the previous lock entry includes the snapshot returned by an earlier call; and explicit fetch/download/review-removal actions. Existing v1 lock files without snapshots still detect version changes, then upgrade by saving each returned snapshot. Requests may contain 100 entries; honor Retry-After if the weighted sync budget is reached. Never delete local files for an unavailable entity without user confirmation.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"entities":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["character","asset","map","ui-pack"],"description":"Entity table represented by this lock entry."},"id":{"type":"string","minLength":1,"maxLength":300,"description":"Opaque entity id from the lock file."},"version":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"description":"contentVersion for a character or the exact UI pack export; updatedAt for an asset or map."},"engine":{"type":"string","enum":["phaser","godot","unity","gamemaker","fnf","unreal","tiled"],"description":"Export engine already used by this lock entry. Defaults to phaser; Sparrow XML supports characters; tiled supports maps and UI pack artwork."},"componentIds":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":256,"description":"UI pack only: preserve the original selected component IDs; omit for the whole pack."},"artworkOnly":{"type":"boolean","description":"UI pack only: preserve the originally authorized recovery mode; never silently enable it."},"snapshot":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"character"},"name":{"type":"string","maxLength":300},"frameSize":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}]},"collisionBody":{"anyOf":[{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"rect"},"cx":{"type":"number"},"cy":{"type":"number"},"hw":{"type":"number"},"hh":{"type":"number"},"rot":{"type":"number"}},"required":["kind","cx","cy","hw","hh"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"circle"},"cx":{"type":"number"},"cy":{"type":"number"},"r":{"type":"number"}},"required":["kind","cx","cy","r"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"polygon"},"points":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y"],"additionalProperties":false},"minItems":3,"maxItems":64},"rot":{"type":"number"}},"required":["kind","points"],"additionalProperties":false}]},{"type":"null"}]},"animations":{"type":"object","additionalProperties":{"type":"object","properties":{"displayName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"frameCount":{"type":"integer","minimum":0},"fps":{"type":"number","minimum":0},"loop":{"type":"boolean"},"collisionBody":{"anyOf":[{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"rect"},"cx":{"type":"number"},"cy":{"type":"number"},"hw":{"type":"number"},"hh":{"type":"number"},"rot":{"type":"number"}},"required":["kind","cx","cy","hw","hh"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"circle"},"cx":{"type":"number"},"cy":{"type":"number"},"r":{"type":"number"}},"required":["kind","cx","cy","r"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"polygon"},"points":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y"],"additionalProperties":false},"minItems":3,"maxItems":64},"rot":{"type":"number"}},"required":["kind","points"],"additionalProperties":false}]},{"type":"null"}]}},"required":["displayName","frameCount","fps","loop","collisionBody"],"additionalProperties":false},"propertyNames":{"maxLength":200}}},"required":["kind","name","frameSize","collisionBody","animations"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"asset"},"name":{"type":"string","maxLength":300},"slug":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"currentIterationId":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"iterationCount":{"type":"integer","minimum":0},"hasAnimation":{"type":"boolean"},"runtimeUse":{"type":"string","maxLength":100},"tileRuntimeUses":{"type":"array","items":{"type":"string","maxLength":200},"maxItems":256},"animationPairs":{"type":"object","additionalProperties":{"type":"object","properties":{"label":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"frameCount":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"fps":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"iterationCount":{"type":"integer","minimum":0}},"required":["label","frameCount","fps","iterationCount"],"additionalProperties":false},"propertyNames":{"maxLength":200}}},"required":["kind","name","slug","currentIterationId","iterationCount","hasAnimation","runtimeUse","tileRuntimeUses","animationPairs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"map"},"name":{"type":"string","maxLength":300},"widthPx":{"type":"integer","exclusiveMinimum":0},"heightPx":{"type":"integer","exclusiveMinimum":0},"gridSize":{"type":"integer","exclusiveMinimum":0},"hasMapData":{"type":"boolean"}},"required":["kind","name","widthPx","heightPx","gridSize","hasMapData"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"ui-pack"},"name":{"type":"string","maxLength":300},"componentCount":{"type":"integer","minimum":0},"components":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string","maxLength":300},"revisionId":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"configurationHash":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"status":{"type":"string","maxLength":200}},"required":["name","revisionId","configurationHash","status"],"additionalProperties":false},"propertyNames":{"maxLength":200}}},"required":["kind","name","componentCount","components"],"additionalProperties":false}],"description":"Copy the prior snapshot from the lock file verbatim. Omit for a v1 lock entry."}},"required":["kind","id"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["entities"],"additionalProperties":false}},{"name":"rebuild_character","description":"FREE, no AI. Re-render one animation from its durable cached frames by passing animation. This is the repair/refresh tool: use it when a sheet looks stale or wrong after a series of edits, or when a previous rebuild failed. It never re-generates art, so it cannot change what the character looks like — only how the frames are packed and normalized. Omit animation only for an explicit full-character maintenance rebuild. Exact pose-owned scale references make the targeted path sibling-independent; legacy captures retain their compatibility sizing fallback. Image-only characters return NO_ANIMATIONS_TO_REBUILD without creating a job. A targeted rebuild returns an operationId/jobId — poll get_job.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"characterId":{"type":"string","description":"Character id."},"animation":{"type":"string","description":"Animation slug to rebuild independently. Omit only to rebuild the whole character."}},"required":["characterId"],"additionalProperties":false}},{"name":"recover_ui_pack_components","description":"Crop missing slots from a retained original PNG after visual review. No provider call or credit charge. Supply original-pixel rectangles and the current source hash; already delivered siblings remain untouched. Inspect validation after recovery.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"packId":{"type":"string","format":"uuid","description":"Owned UI Pack ID."},"batchId":{"type":"string","format":"uuid"},"sourceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"crops":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":7},"bounds":{"type":"object","properties":{"x":{"type":"integer","minimum":0},"y":{"type":"integer","minimum":0},"width":{"type":"integer","minimum":1,"maximum":2048},"height":{"type":"integer","minimum":1,"maximum":2048}},"required":["x","y","width","height"],"additionalProperties":false}},"required":["index","bounds"],"additionalProperties":false},"minItems":1,"maxItems":8}},"required":["packId","batchId","sourceHash","crops"],"additionalProperties":false}},{"name":"regen_asset_pair","description":"PAID (~400 credits at defaults). Re-run video generation for a SINGLE motion pair of an animated asset, leaving its other pairs alone. The new take lands as an additional iteration on that pair — earlier takes are preserved. DEFAULTS TO A COST PREVIEW — see the dryRun argument. Returns { jobId } — poll get_job.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"assetId":{"type":"string","description":"Asset id or slug."},"pairId":{"type":"string","description":"Motion pair id (from get_asset)."},"motionPrompt":{"type":"string","description":"Replacement motion prompt for this take."},"videoModel":{"type":"string","description":"Override the video model."},"durationSeconds":{"type":"number","minimum":2,"maximum":10,"description":"Informs the cost estimate only — the dispatched job uses the pair's own duration."},"dryRun":{"type":"boolean","default":true,"description":"DEFAULTS TO TRUE. While true this returns only a cost quote ({ estimatedCredits, balance, spendCapDaily, spentLast24h, capRemaining }) and executes nothing. Show the user estimatedCredits, then ask a normal confirmation question. Prefer the client's native question UI with Approve / Decline / Discuss choices when available; otherwise accept any unambiguous conversational approval. Never require a fixed phrase or ask the user to type a magic word. Only after approval, re-call with dryRun:false to actually spend."},"idempotencyKey":{"type":"string","minLength":1,"description":"Optional Idempotency-Key for the real (dryRun:false) call. Omit and one is minted per call. Reuse the SAME value when retrying a call that failed with ENTITY_BUSY / 402 / 429 so the retry cannot double-dispatch."}},"required":["assetId","pairId"],"additionalProperties":false}},{"name":"rematte_animation","description":"FREE, no AI. Try a cleaner background removal on ONE animation's source video — the repair for a quality read showing deliveredIssues containing \"matte\" (green fringe, flickering holes, ragged edges). The cleaner version is kept ONLY if it measures better, so this can never make the animation worse; the motion itself is unchanged. One attempt per capture: if the same frames were already tried (matteRepair stamp), a repeat call is a cheap re-check + free re-render — regenerate the animation for a fresh take instead. Fails with SOURCE_VIDEO_EXPIRED when the source video aged past its 30-day retention. Returns { jobId } — poll get_job, then re-read the character's quality block: \"matte\" gone = the cleaner version shipped.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"characterId":{"type":"string","description":"Character id."},"animation":{"type":"string","description":"Animation slug to re-matte in place."}},"required":["characterId","animation"],"additionalProperties":false}},{"name":"rename_ui_component","description":"Rename an owned component for free. Supply its current name as expectedName to reject stale edits. Preserves IDs, artwork and historical revisions; re-sync updates its exported display name.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"packId":{"type":"string","format":"uuid","description":"Owned UI Pack ID."},"componentId":{"type":"string","format":"uuid","description":"Owned component ID within this pack."},"name":{"type":"string","minLength":1,"maxLength":120},"expectedName":{"type":"string","minLength":1,"maxLength":120}},"required":["packId","componentId","name","expectedName"],"additionalProperties":false}},{"name":"replace_ui_component_png","description":"Save a locally edited PNG, revalidate behavior metadata and preserve the prior revision. Free. Maximum PNG 4 MB and 2048 pixels per axis; no SVG artwork editing.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"packId":{"type":"string","format":"uuid","description":"Owned UI Pack ID."},"componentId":{"type":"string","format":"uuid","description":"Owned component ID within this pack."},"revisionId":{"type":"string","format":"uuid"},"imageBase64":{"type":"string","minLength":1,"maxLength":6000000}},"required":["packId","componentId","revisionId","imageBase64"],"additionalProperties":false}},{"name":"reprocess_asset","description":"FREE and SYNCHRONOUS (no jobId — do not poll), no AI. Rebuild a staged, tileset, or terrain collection's presentation layout: anchor chooses the shared fixed point and cellOffsets apply per-item nudges. Modern manifest revisions are recomposed from their independent item PNGs and are never re-sliced; legacy staged and tileset revisions retain the source-sheet re-cut path, where cellInset can remove separator bleed. For a manifest revision, fitItemIndices makes those items fill their shared cell as much as possible while preserving aspect ratio. Legacy terrain must be upgraded to independent items first. Omitted fields keep the revision's current values; send cellOffsets:[] or cellInset:0 to clear. Returns a grid summary; call get_asset afterwards for fresh presigned tile URLs.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"assetId":{"type":"string","description":"Asset id or slug (staged, tileset, or manifest-backed terrain)."},"iterationId":{"type":"string","description":"Collection revision (iteration) id to arrange."},"anchor":{"type":"string","enum":["top-left","top-middle","top-right","middle-left","center","middle-right","bottom-left","bottom-middle","bottom-right"],"description":"Where each sprite is placed inside its cell. \"bottom-middle\" is the default for sprites that stand on the ground."},"cellOffsets":{"type":"array","items":{"type":"object","properties":{"x":{"type":"integer","description":"Horizontal nudge in pixels."},"y":{"type":"integer","description":"Vertical nudge in pixels."}},"required":["x","y"],"additionalProperties":false},"description":"Per-cell pixel nudges, in tile-index order. Pass [] to clear all nudges."},"fitItemIndices":{"type":"array","items":{"type":"integer","minimum":0},"maxItems":256,"description":"Independent-item manifests only: itemIndex values to fit to the shared cell while preserving aspect ratio. This is a one-shot operation; omitted items keep their saved size."},"cellInset":{"type":"integer","minimum":0,"maximum":32,"description":"Legacy source sheets only: pixels shaved off every side of each cell to drop neighbouring bleed (0-32). Ignored for independent-item manifests. Pass 0 to clear."}},"required":["assetId","iterationId"],"additionalProperties":false}},{"name":"retry_job","description":"FREE when the original KIE task or a validated stored artifact can be recovered; otherwise PAID only for the sub-steps that still need to run. Re-runs the FAILED step of a job whose status is \"error\" — the prompt, model and every setting are already on the job, so this is the cheap way out of a failure instead of creating the whole thing again. Work that already succeeded is NOT redone or re-charged: a generation that failed after its image landed reuses the paid result. get_job reports retryMode, retryRecovery and retryCost, and the dryRun quote here is that same number. If get_job reports failureAction:\"edit_input\", do not use this tool; edit the prompt or references and create a new generation. A non-retryable phase answers 400 JOB_NOT_RETRYABLE — some late phases hold partially-committed state and deliberately have no blanket retry. For already-authorized generation, automatically execute a zero-credit recovery quote and poll it; no renewed approval or refund. Never duplicate a running recovery. Limit automatic retries to two per failed job per session; stop on recurring failure or any paid quote. DEFAULTS TO A COST PREVIEW — see the dryRun argument. Returns { jobId } — poll get_job.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"jobId":{"type":"string","description":"Id of a job whose status is \"error\" (from get_job)."},"dryRun":{"type":"boolean","default":true,"description":"DEFAULTS TO TRUE. While true this returns only a cost quote ({ estimatedCredits, balance, spendCapDaily, spentLast24h, capRemaining }) and executes nothing. Show the user estimatedCredits, then ask a normal confirmation question. Prefer the client's native question UI with Approve / Decline / Discuss choices when available; otherwise accept any unambiguous conversational approval. Never require a fixed phrase or ask the user to type a magic word. Only after approval, re-call with dryRun:false to actually spend."},"idempotencyKey":{"type":"string","minLength":1,"description":"Optional Idempotency-Key for the real (dryRun:false) call. Omit and one is minted per call. Reuse the SAME value when retrying a call that failed with ENTITY_BUSY / 402 / 429 so the retry cannot double-dispatch."}},"required":["jobId"],"additionalProperties":false}},{"name":"retry_unusable_result","description":"Quality Retry is the subscription compensation for AI art that invents details, ignores the request, or arrives unusable, letting the user try again without asking support for a credit refund. Costs ONE quality retry and ZERO credits; it is not a refund and preserves the original. Use get_subscription_allowances first and proceed only when features.retry is true; explain the purpose/cost and obtain approval before confirmed=true. This is distinct from retry_job (technical recovery) and ordinary paid revision. Do not use for arbitrary new ideas or imported still images. Persist requestId and reuse it after network errors; a returned allowance requires a new requestId.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"kind":{"type":"string","enum":["asset_image","asset_animation","character_image","character_animation","character_pose"],"description":"Use character_pose with poseId for a completed generated pose with saved inputs, creating a new pose on the same character. Extracted/mirrored poses are excluded. Use character_animation for ordinary character animations and completed standalone or automatic setup 360 video turns. Setup requires a completed owned job with an approved review and retained padded input. Turn retries create a new standalone turn without replacing approved poses or rerunning dependent animations. Grid-sheet rotations and unidentifiable sources are excluded."},"entityId":{"type":"string"},"revisionId":{"type":"string"},"animationId":{"type":"string"},"poseId":{"type":"string"},"reason":{"type":"string","enum":["hallucinated","unusable","other"]},"requestId":{"type":"string","format":"uuid"},"issueDetails":{"type":"string","minLength":1,"maxLength":1000,"description":"Required for reason=other. Describe the unusable result in up to 1000 characters; stored for support, not sent to AI or used to change the original prompt. Preserve on requestId replay."},"confirmed":{"type":"boolean","description":"True only after the user approved using one quality retry."}},"required":["kind","entityId","reason","requestId"],"additionalProperties":false}},{"name":"revise_asset","description":"PAID. Generate a new revision of an asset from feedback text. The previous revision is kept — revisions are additive, never destructive. Environment Kit (`terrain`) assets also accept the legacy templateId to pull a whole category pack (edges / grounds / props / slopes / textures / structures). Passing sourceItemIndex uses that extracted item as the visual source for a complete new related collection: the source stays untouched and every output is a separate new asset listed in get_job.assetIds. The default dry run returns the exact semantic revision plan and planToken; show the preview to the user, then resend the unchanged request with that token. DEFAULTS TO A PLAN + COST PREVIEW — see dryRun. Returns { jobId } — poll get_job.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"assetId":{"type":"string","description":"Asset id or slug."},"prompt":{"type":"string","maxLength":20000,"description":"What to change. Required unless templateId is given (terrain)."},"templateId":{"type":"string","enum":["edges","grounds","props","slopes","textures","structures"],"description":"Environment Kit (`terrain`) only — legacy focused category pack, not a dashboard prompt-starter ID."},"imageModel":{"type":"string","description":"Override the image model."},"sourceIterationId":{"type":"string","description":"Revise from a specific earlier revision instead of the current one."},"sourceItemIndex":{"type":"integer","minimum":0,"description":"Collection item to seed a related collection. Preserves the source and creates one new asset per output."},"textureKind":{"type":"string","enum":["fill","strip"],"description":"Texture only — 4-way seamless fill, or a directional left-right strip. Defaults to the asset's existing kind."},"planToken":{"type":"string","description":"REQUIRED when dryRun=false. Copy unchanged from the immediately preceding dry-run response."},"dryRun":{"type":"boolean","default":true,"description":"DEFAULTS TO TRUE. While true this returns only a cost quote ({ estimatedCredits, balance, spendCapDaily, spentLast24h, capRemaining }) and executes nothing. Show the user estimatedCredits, then ask a normal confirmation question. Prefer the client's native question UI with Approve / Decline / Discuss choices when available; otherwise accept any unambiguous conversational approval. Never require a fixed phrase or ask the user to type a magic word. Only after approval, re-call with dryRun:false to actually spend."},"idempotencyKey":{"type":"string","minLength":1,"description":"Optional Idempotency-Key for the real (dryRun:false) call. Omit and one is minted per call. Reuse the SAME value when retrying a call that failed with ENTITY_BUSY / 402 / 429 so the retry cannot double-dispatch."}},"required":["assetId"],"additionalProperties":false}},{"name":"revise_ui_pack_png","description":"Get a cost preview for a 100-credit selected PNG revision, then pass its signed quote to execute. SVG artwork editing is Phase 2; it is not enabled by this tool. Siblings and prior revisions remain available.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"packId":{"type":"string","format":"uuid","description":"Owned UI Pack ID."},"componentId":{"type":"string","format":"uuid","description":"Owned component ID within this pack."},"request":{"type":"object","properties":{"requestId":{"type":"string","minLength":8,"maxLength":128},"revisionId":{"type":"string","format":"uuid"},"prompt":{"type":"string","minLength":1,"maxLength":2000},"referenceImageBase64":{"type":"string","maxLength":6000000}},"required":["requestId","revisionId","prompt"],"additionalProperties":false},"quote":{"type":"object","additionalProperties":{},"description":"Unmodified signed quote returned by the dry-run. Required when dryRun is false."},"dryRun":{"type":"boolean","default":true,"description":"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."},"idempotencyKey":{"type":"string","minLength":8,"maxLength":128,"description":"Reuse the same key when retrying a confirmed request."}},"required":["packId","componentId"],"additionalProperties":false}},{"name":"save_project_style_guide","description":"Adopt a new immutable guide revision with optimistic concurrency. Colors, typography and camera apply to future generation, never silently rewrite prior assets.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string"},"expectedRevision":{"type":"integer","minimum":0},"guide":{"type":"object","additionalProperties":{}}},"required":["projectId","expectedRevision","guide"],"additionalProperties":false}},{"name":"save_ui_component_defaults","description":"Save supported fill, text and layout values for an exact current revision. Free and deterministic; cannot manufacture unsupported capabilities or edit arbitrary SVG geometry.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"packId":{"type":"string","format":"uuid","description":"Owned UI Pack ID."},"componentId":{"type":"string","format":"uuid","description":"Owned component ID within this pack."},"revisionId":{"type":"string","format":"uuid"},"configuration":{"type":"object","additionalProperties":{}}},"required":["packId","componentId","revisionId","configuration"],"additionalProperties":false}},{"name":"save_ui_pack_style","description":"Save a pack-specific style for future quotes using the current pack updatedAt. Free; preserves project defaults and existing component revisions. A stale timestamp is rejected.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"packId":{"type":"string","format":"uuid","description":"Owned UI Pack ID."},"styleGuide":{"type":"object","additionalProperties":{}},"expectedUpdatedAt":{"type":"string","format":"date-time"}},"required":["packId","styleGuide","expectedUpdatedAt"],"additionalProperties":false}},{"name":"select_frames","description":"FREE, no AI. Curate which frames an animation keeps, by index into the full capture, in order. Pass an empty array to reset to all frames. Non-destructive: the full capture is retained, so you can re-select at any time. Use get_frames with format:\"sheet\" first to choose indices. Returns a jobId — poll get_job.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"target":{"type":"string","enum":["character","assetPair"],"description":"A character animation, or an asset motion pair."},"entityId":{"type":"string","description":"Character id (target=character) or asset id/slug (target=assetPair)."},"animation":{"type":"string","description":"Animation slug — required when target=character."},"pairId":{"type":"string","description":"Motion pair id — required when target=assetPair."},"frames":{"type":"array","items":{"type":"integer","minimum":0},"description":"Ordered frame indices to keep. Empty array resets to the full capture."},"compositing":{"type":"object","properties":{"scale":{"type":"number"},"offsetX":{"type":"number"},"offsetY":{"type":"number"}},"required":["scale","offsetX","offsetY"],"additionalProperties":false,"description":"Characters only — apply scale/offset in the same rebuild."}},"required":["target","entityId","frames"],"additionalProperties":false}},{"name":"set_asset_collision_body","description":"FREE and SYNCHRONOUS (no jobId — do not poll). Author the PHYSICS shape a game should build its collider from for an asset revision: a rect, a circle, or a closed polygon, in NORMALIZED coordinates (0..1 fractions of the sprite/tile cell, origin top-left; a circle radius is a fraction of WIDTH). Set tileIndex to give one tile of a tileset/staged asset its own shape — it overrides the asset-level default for that tile. Pass collisionBody: null to clear.\n\nThis is what stops a game from falling back to the sprite bounding box. The shape flows into every map and asset export made AFTER this edit — Tiled per-tile objectgroups, the Tiled map Collision layer, and the Phaser/Godot/Unity/GameMaker colliders — and it is resolved from the asset at export time, so it applies to tiles that were already placed on a map before you set it. Distinct from the FOOTPRINT, which is only the level editor's snap/tessellation shape and has no physics meaning.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"assetId":{"type":"string","description":"Asset id or slug."},"iterationId":{"type":"string","description":"Revision (iteration) id to stamp."},"collisionBody":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"rect"},"cx":{"type":"number","description":"Center X, fraction of width."},"cy":{"type":"number","description":"Center Y, fraction of height."},"hw":{"type":"number","description":"Half-width, fraction of width."},"hh":{"type":"number","description":"Half-height, fraction of height."},"rot":{"type":"number","description":"Rotation in radians about the body center."}},"required":["kind","cx","cy","hw","hh"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"circle"},"cx":{"type":"number"},"cy":{"type":"number"},"r":{"type":"number","description":"Radius, fraction of WIDTH."}},"required":["kind","cx","cy","r"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"polygon"},"points":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y"],"additionalProperties":false},"description":"3..64 points, each a 0..1 fraction. Treated as a closed loop — do not repeat the first point."},"rot":{"type":"number"}},"required":["kind","points"],"additionalProperties":false},{"type":"null"}],"description":"The shape, or null to clear it."},"tileIndex":{"type":"integer","minimum":0,"description":"Target one collection tile (tileset/staged/terrain). Coordinates are normalized to its padded presentation cell, not the cropped item image. Omit for the asset-level default."}},"required":["assetId","iterationId","collisionBody"],"additionalProperties":false}},{"name":"set_asset_runtime_intent","description":"FREE and SYNCHRONOUS (no jobId — do not poll). Declare how an asset revision should be rendered at runtime: plain_image, particle_emitter, deformable_strip, repeat_fill, nine_slice or shader_effect. path_follow is accepted only for backward compatibility; do not set it on new assets. Draw and configure motion per placement in the level editor instead. The intent and its config flow into every engine export made AFTER this edit. Set tileIndex to target one tile of a tileset/staged asset.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"assetId":{"type":"string","description":"Asset id or slug."},"iterationId":{"type":"string","description":"Revision (iteration) id to stamp."},"runtimeUse":{"type":"string","enum":["plain_image","particle_emitter","deformable_strip","repeat_fill","nine_slice","shader_effect","path_follow"],"description":"The render intent. plain_image clears any previous intent. path_follow is legacy-only; new path motion is authored per placement in the level editor."},"tileIndex":{"type":"integer","minimum":0,"description":"Target one tile (tileset/staged only)."},"config":{"type":"object","additionalProperties":{},"description":"Intent-specific config. Validated and clamped server-side; unknown keys are dropped."}},"required":["assetId","iterationId","runtimeUse"],"additionalProperties":false}},{"name":"suggest_motion_hint","description":"PAID but very cheap (one configured text-model call) and SYNCHRONOUS — returns { hint, cost } inline, no jobId. Reads a STAGED asset's prompt plus the stage pairs you intend to animate and writes the one-sentence motion description to pass as animate_asset's motionHint. Use it when you are about to spend ~400 credits on video and are unsure what to write: a few credits here protects that spend. Object States assets only — any other type answers 400.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"assetId":{"type":"string","description":"Object States asset id or slug."},"pairs":{"type":"array","items":{"type":"object","properties":{"from":{"type":"integer","minimum":0,"description":"Start stage index."},"to":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"End stage index, or null for open-ended motion."}},"required":["from","to"],"additionalProperties":false},"maxItems":32,"description":"The stage transitions you plan to animate — context for the hint, nothing is generated from them."},"dryRun":{"type":"boolean","default":true,"description":"DEFAULTS TO TRUE. While true this returns only a cost quote ({ estimatedCredits, balance, spendCapDaily, spentLast24h, capRemaining }) and executes nothing. Show the user estimatedCredits, then ask a normal confirmation question. Prefer the client's native question UI with Approve / Decline / Discuss choices when available; otherwise accept any unambiguous conversational approval. Never require a fixed phrase or ask the user to type a magic word. Only after approval, re-call with dryRun:false to actually spend."},"idempotencyKey":{"type":"string","minLength":1,"description":"Optional Idempotency-Key for the real (dryRun:false) call. Omit and one is minted per call. Reuse the SAME value when retrying a call that failed with ENTITY_BUSY / 402 / 429 so the retry cannot double-dispatch."}},"required":["assetId"],"additionalProperties":false}},{"name":"suggest_project_style","description":"Suggest palette, treatment and existing font IDs from the available catalog. Free to customers; suggestions require explicit save to adopt.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string"},"direction":{"type":"string","minLength":1,"maxLength":2000},"previewText":{"type":"string","maxLength":2000}},"required":["projectId","direction"],"additionalProperties":false}},{"name":"validate_ui_component_layout","description":"Revalidate an exact current revision and apply only proven deterministic runtime layout repairs, including bar fill openings, panel text/slice regions, and explicitly named SVG button-state separation. Free; preserves original sources. This is not arbitrary SVG artwork editing and cannot promise a successful capability result.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"packId":{"type":"string","format":"uuid","description":"Owned UI Pack ID."},"componentId":{"type":"string","format":"uuid","description":"Owned component ID within this pack."},"revisionId":{"type":"string","format":"uuid"}},"required":["packId","componentId","revisionId"],"additionalProperties":false}},{"name":"whoami","description":"Verify the API key and report which powers it has. Returns { userId, username, keyId, keyName, scopes, mapLimits }. mapLimits contains maxMapsPerProject (null means unlimited), maxAreaPx (width × height allowance per map), maxWidthPx and maxHeightPx (independent technical side limits), and canResizeMaps. Paid plans allow any aspect ratio within both area and side limits. Admin accounts receive Studio map capacity even without a subscription. Read effective limits and the saved map before recommending gameplay-sized dimensions; starter dimensions are not an account limit. Free is fixed at 720 × 480; saved larger maps remain editable/exportable, but resizing requires a subscription. Map creation and editing use the web editor. Call this first when a tool fails with a scope error — the scopes array tells you what this key can and cannot do.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false}}],"scan":{"score":60,"grade":"C","scanned_at":"2026-09-23T11:54:43.816Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-23T11:54:43.856Z","components":{"code":{"score":-1,"max":25,"notes":["remote-only server, no package to scan"]},"reliability":{"score":17,"max":20,"notes":["remote reachable in 2001ms"]},"poisoning":{"score":13,"max":15,"notes":["70 tool descriptions checked"]},"auth":{"score":8,"max":15,"notes":["API key sent as a header"]},"maintenance":{"score":3,"max":15,"notes":["no repository listed"]},"identity":{"score":4,"max":10,"notes":["verified namespace with website, no repo"]}},"findings":[{"id":"poison.long-description","severity":"low","component":"poisoning","title":"Unusually long tool description (over 2,000 characters)","evidence":"tool create_character: …PAID (~150 credits). Generate a NEW character from a text prompt. This is the entry point for building art from nothing — call create_project first if the user has no project. Artwork is strictly text-free by default: no labels, captions, lettering or pseudo-text; only specific intrinsic writing explicitly requested by the user is permitted. IMAGE ONLY: it produces the character still, not animations. Animation is a separate explicit step (generate_character_animation for a walk cycle, generate_character_turn for the 360 rotation), because animating costs several times more and the user should choose it. BY DEFAULT it requests FOUR DESIGN VARIATIONS FOR THE SAME PRICE, matching the dashboard. Set generateFourVariations:false only when the user explicitly wants one character. gridRows:2 + gridCols:2 remain the legacy trigger for the same four-character mode; one image call is split by complete character silhouettes, never fixed cells. Four is the expected count, but any result with at least two separate silhouettes succeeds; every clearly separated full character is preserved whether two, three, or more than four are found. Zero or one means the sheet was not extractable and refunds. Show the user every result and let them pick. Returns { jobId, expectedCharacterCount } — poll get_job; on status:\"done\" its characterIds and characterPreviews tell you which characters exist and what they look like. gameType defaults from the project but can be overridden for this character. Use topdown for the Top-Down Angled character pipeline, including characters intended for isometric projects. Passing isometric is accepted as an alias and creates a topdown character because that is the measured working directional pipeline. The STORED CHARACTER gameType — not the project gameType — controls every later animation and whether a user-facing 360 turn is available. A topdown character inside a platformer project therefore keeps the top-down directional pipeline and supports generate_character_turn. DEFAULTS TO A COST PREVIEW — see the dryRun argument.…"},{"id":"maint.no-repo","severity":"low","component":"maintenance","title":"No source repository listed"}],"inputs":{"probes":[{"url":"https://spriteship.com/mcp","reachable":true,"authRequired":false,"latencyMs":2001,"serverInfo":{"name":"spriteship","version":"1.1.0"}}],"packages":[],"repo":{"found":false},"icon":{"url":"https://spriteship.com/favicon.svg","source":"site"},"presence":{"stars":null,"forks":null,"downloadsWeek":null,"license":null,"lastPushAt":null,"score":8}}}},"grade_history":[],"reviews":[]}