{"at":"2026-11-23T02:36:39.963Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T02:36:40.346Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T02:36:40.447Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T02:36:40.844Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"mc-asset","version":"0.5.0"}}}}
{"at":"2026-11-23T02:36:40.844Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T02:36:40.844Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T02:36:40.850Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Analyze a raster image (PNG, JPEG, WebP) and return a read-only report: dimensions, palette, predicted alpha classification, pixel-art characteristics, and processing recommendations. Reads only, never writes.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"minecraftVersion":{"description":"Release Minecraft version 1.19.3 through 26.3 (for example \"1.19.3\", \"1.21.4\", \"26.3\"). Omitted means engine defaults.","minLength":1,"type":"string"},"path":{"description":"Raster image path (PNG, JPEG, WebP).","minLength":1,"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"},"resourcePackVersion":{"description":"Target resource-pack version as N or N.M (e.g. 84, 97.1); normalized to major.minor. Omitted means engine defaults.","minLength":1,"type":"string"}},"required":["path"],"type":"object"},"name":"analyze_asset"},{"description":"Run a reference raster image through the deterministic pixelize pipeline and return PNG bytes and/or the editable .mcpx source. The input must be PNG, JPEG, or WebP, never .mcpx.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"inputPath":{"description":"Reference raster image path (PNG, JPEG, WebP; never .mcpx).","minLength":1,"type":"string"},"outputMcpxPath":{"description":"Explicit .mcpx output path. When omitted, the .mcpx text is embedded in the result instead of written to disk.","minLength":1,"type":"string"},"outputPngPath":{"description":"Explicit PNG output path. When omitted, the PNG bytes are embedded in the result instead of written to disk.","minLength":1,"type":"string"},"preset":{"description":"Processing preset: item, block, generic, gui, particle.","minLength":1,"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"},"size":{"description":"Output size: 16, 32, 64, 128, or WxH.","minLength":1,"type":"string"}},"required":["inputPath"],"type":"object"},"name":"pixelize_asset"},{"description":"Render a hand-authored ASCII Grid (inline text or a .grid file, exactly one) into PNG bytes and/or the editable .mcpx source, with an optional batch applied after parsing. For pixel-level authorship without per-pixel tool calls.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"gridPath":{"description":"Standalone ASCII Grid file path. Exactly one of gridPath and gridText is required.","minLength":1,"type":"string"},"gridText":{"description":"Inline ASCII Grid document text. Exactly one of gridPath and gridText is required.","minLength":1,"type":"string"},"operations":{"description":"Optional batch operations JSON text applied after the grid is parsed.","minLength":1,"type":"string"},"outputMcpxPath":{"description":"Explicit .mcpx output path. When omitted, the .mcpx text is embedded in the result instead of written to disk.","minLength":1,"type":"string"},"outputPngPath":{"description":"Explicit PNG output path. When omitted, the PNG bytes are embedded in the result instead of written to disk.","minLength":1,"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"}},"type":"object"},"name":"render_pixel_asset"},{"description":"Apply a batch of Core pixel/layer/region operations to an editable .mcpx source in one call (atomic by default: the first failure rolls everything back). This is the batch-edit slot; never split pixel work across hundreds of per-pixel tool calls.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"atomic":{"description":"Default true: the first failure rolls the canvas back and the whole batch fails.","type":"boolean"},"feedback":{"additionalProperties":false,"description":"Optional visual feedback for the batch; absent keeps the output fields and bytes exactly as before.","properties":{"crop":{"description":"Feedback selection expression (atom string or JSON expression object); refused with image none, ignored with image changed."},"diff":{"description":"Feedback diff: none (default) or summary with raw, composited, structural, and outsideSelectionUnchanged.","enum":["none","summary"],"type":"string"},"image":{"description":"Feedback image: none (default, flags only), full (whole crop), or changed (composited change bounds; the crop is ignored). Changed with no visible difference returns noVisibleChange instead of an image.","enum":["none","full","changed"],"type":"string"},"scale":{"description":"Feedback integer upscale factor 1-16 with nearest sampling; omitted auto-scales from the pre-scale long edge below 128.","maximum":16,"minimum":1,"type":"integer"}},"type":"object"},"operations":{"description":"Batch operations applied in order in a single call; never split pixel work across hundreds of tool calls.","items":{"additionalProperties":true,"description":"Batch operation object with a `type` (setPixel, drawLine, fillRect, floodFill, createLayer, setRegionPixel, outline, and the rest of the Core batch vocabulary) plus its per-type arguments.","properties":{"id":{"minLength":1,"type":"string"},"type":{"minLength":1,"type":"string"}},"required":["type"],"type":"object"},"minItems":1,"type":"array"},"outputMcpxPath":{"description":"Explicit .mcpx output path. When omitted, the .mcpx text is embedded in the result instead of written to disk.","minLength":1,"type":"string"},"outputPngPath":{"description":"Explicit PNG output path. When omitted, the PNG bytes are embedded in the result instead of written to disk.","minLength":1,"type":"string"},"sourcePath":{"description":"Editable .mcpx source path the batch runs against.","minLength":1,"type":"string"}},"required":["sourcePath","operations"],"type":"object"},"name":"apply_asset_operations"},{"description":"Recolor an editable .mcpx source with a builtin material id, optionally limited to one region id, and return PNG bytes and/or the recolored source.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"family":{"description":"Palette family id to apply (mutually exclusive with material).","minLength":1,"type":"string"},"material":{"description":"Builtin material id to apply (mutually exclusive with family).","minLength":1,"type":"string"},"outputMcpxPath":{"description":"Explicit .mcpx output path. When omitted, the .mcpx text is embedded in the result instead of written to disk.","minLength":1,"type":"string"},"outputPngPath":{"description":"Explicit PNG output path. When omitted, the PNG bytes are embedded in the result instead of written to disk.","minLength":1,"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"},"region":{"description":"Limit the write to one region id; otherwise every layer is recolored.","minLength":1,"type":"string"},"selection":{"description":"Scope pixel writes with a selection expression.","minLength":1,"type":"string"},"sourcePath":{"description":"Editable .mcpx source path to recolor.","minLength":1,"type":"string"},"style":{"description":"Style preset id or .style.json path; defaults to vanilla.","minLength":1,"type":"string"}},"required":["sourcePath"],"type":"object"},"name":"recolor_asset"},{"description":"Fan out one editable .mcpx source into per-material variants under an explicit output directory, each starting from the pristine source so reruns stay byte-identical.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"families":{"description":"Palette family ids, one variant per entry, each starting from the pristine source.","items":{"minLength":1,"type":"string"},"minItems":1,"type":"array"},"materials":{"description":"Builtin material ids, one variant per entry, each starting from the pristine source.","items":{"minLength":1,"type":"string"},"minItems":1,"type":"array"},"nameTemplate":{"description":"Output filename template using {stem} and {name}; defaults to {stem}_{name}.","minLength":1,"type":"string"},"outputDir":{"description":"Explicit output directory receiving <stem>_<material>.png plus .mcpx per material.","minLength":1,"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"},"region":{"description":"Limit the write to one region id.","minLength":1,"type":"string"},"selection":{"description":"Scope pixel writes with a selection expression.","minLength":1,"type":"string"},"sourcePath":{"description":"Editable .mcpx source path to fan out from.","minLength":1,"type":"string"},"style":{"description":"Style preset id or .style.json path; defaults to vanilla.","minLength":1,"type":"string"}},"required":["sourcePath","outputDir"],"type":"object"},"name":"create_variants"},{"description":"Validate an asset file and return a read-only verdict with findings. Reads only, never writes; an optional explicit .mcmeta path is used verbatim.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"mcmetaPath":{"description":"Explicit .mcmeta path used verbatim; a sibling file is never derived.","minLength":1,"type":"string"},"minecraftVersion":{"description":"Release Minecraft version 1.19.3 through 26.3 (for example \"1.19.3\", \"1.21.4\", \"26.3\"). Omitted means engine defaults.","minLength":1,"type":"string"},"path":{"description":"Asset file path to validate (PNG).","minLength":1,"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"},"resourcePackVersion":{"description":"Target resource-pack version as N or N.M (e.g. 84, 97.1); normalized to major.minor. Omitted means engine defaults.","minLength":1,"type":"string"}},"required":["path"],"type":"object"},"name":"validate_asset"},{"description":"Decode a raster image (PNG, JPEG, WebP) into the Pixel Canvas with an optional batch applied after import. Returns PNG bytes and/or the editable .mcpx source via explicit output paths or embedded artifacts; no force, mkdir, or in-place writes.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"inputPath":{"description":"Raster image path (PNG, JPEG, WebP).","minLength":1,"type":"string"},"operations":{"description":"Optional batch operations JSON text.","minLength":1,"type":"string"},"outputMcpxPath":{"description":"Explicit .mcpx output path. When omitted, the .mcpx text is embedded in the result instead of written to disk.","minLength":1,"type":"string"},"outputPngPath":{"description":"Explicit PNG output path. When omitted, the PNG bytes are embedded in the result instead of written to disk.","minLength":1,"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"}},"required":["inputPath"],"type":"object"},"name":"import_asset"},{"description":"Build an editable .mcpx source into a texture or re-serialize the source, with an optional batch applied after parsing. Returns PNG bytes and/or the built source via explicit output paths or embedded artifacts; no force, mkdir, or in-place writes.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"operations":{"description":"Optional batch operations JSON text.","minLength":1,"type":"string"},"outputMcpxPath":{"description":"Explicit .mcpx output path. When omitted, the .mcpx text is embedded in the result instead of written to disk.","minLength":1,"type":"string"},"outputPngPath":{"description":"Explicit PNG output path. When omitted, the PNG bytes are embedded in the result instead of written to disk.","minLength":1,"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"},"sourcePath":{"description":"Editable .mcpx source path.","minLength":1,"type":"string"}},"required":["sourcePath"],"type":"object"},"name":"build_asset"},{"description":"Apply one spatial transformation (flip, rotate, crop, pad, resize, or translate) to a raster image or .mcpx source. Returns PNG bytes and/or the editable source via explicit output paths or embedded artifacts; no force, mkdir, or in-place writes.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"crop":{"description":"Crop rectangle as x,y,w,h.","minLength":1,"type":"string"},"flip":{"description":"Flip axis: h or v.","enum":["h","v"],"type":"string"},"inputPath":{"description":"Raster image or .mcpx path to transform.","minLength":1,"type":"string"},"outputMcpxPath":{"description":"Explicit .mcpx output path. When omitted, the .mcpx text is embedded in the result instead of written to disk.","minLength":1,"type":"string"},"outputPngPath":{"description":"Explicit PNG output path. When omitted, the PNG bytes are embedded in the result instead of written to disk.","minLength":1,"type":"string"},"pad":{"description":"Padding as l,t,r,b.","minLength":1,"type":"string"},"padColor":{"description":"Pad color as hex or \"transparent\".","minLength":1,"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"},"resize":{"description":"Target size as WxH.","minLength":1,"type":"string"},"resizeMode":{"description":"Resize sampling: nearest, box, or pixel-aware.","enum":["nearest","box","pixel-aware"],"type":"string"},"rotate":{"description":"Rotation in degrees: 90, 180, or 270.","enum":[90,180,270],"type":"number"},"selection":{"description":"Scope operations to a selection expression: all, rect:x,y,w,h, region:id, alpha[:layer], color[:layer]:r,g,b,a, connected[:layer]:x,y, or a JSON expression object with op union|intersect|subtract|invert and operands [...]; cannot be combined with geometry operations (ARGUMENT_CONFLICT).","minLength":1,"type":"string"},"translate":{"description":"Translation offset as dx,dy.","minLength":1,"type":"string"}},"required":["inputPath"],"type":"object"},"name":"transform_asset"},{"description":"Reduce the distinct colors of a raster image or .mcpx source to a target count or an explicit palette, with reserved colors kept byte-identical and an optional selection. Returns PNG bytes and/or the editable source via explicit output paths or embedded artifacts; no force, mkdir, or in-place writes.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"colors":{"description":"Target distinct color count.","type":"number"},"inputPath":{"description":"Raster image or .mcpx path to quantize.","minLength":1,"type":"string"},"keepColors":{"description":"Reserved RGBA colors kept byte-identical.","items":{"additionalProperties":false,"properties":{"a":{"maximum":255,"minimum":0,"type":"integer"},"b":{"maximum":255,"minimum":0,"type":"integer"},"g":{"maximum":255,"minimum":0,"type":"integer"},"r":{"maximum":255,"minimum":0,"type":"integer"}},"required":["r","g","b","a"],"type":"object"},"type":"array"},"outputMcpxPath":{"description":"Explicit .mcpx output path. When omitted, the .mcpx text is embedded in the result instead of written to disk.","minLength":1,"type":"string"},"outputPngPath":{"description":"Explicit PNG output path. When omitted, the PNG bytes are embedded in the result instead of written to disk.","minLength":1,"type":"string"},"palette":{"description":"Explicit palette source (builtin material id or .mcpx path).","minLength":1,"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"},"selection":{"description":"Scope operations to a selection expression: all, rect:x,y,w,h, region:id, alpha[:layer], color[:layer]:r,g,b,a, connected[:layer]:x,y, or a JSON expression object with op union|intersect|subtract|invert and operands [...].","minLength":1,"type":"string"}},"required":["inputPath"],"type":"object"},"name":"quantize_asset"},{"description":"Detect or eliminate isolated, noise, or outlier pixels in a raster image or .mcpx source, optionally scoped by a selection. Returns PNG bytes and/or the editable source via explicit output paths or embedded artifacts; no force, mkdir, or in-place writes.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"allowRenderPassChange":{"description":"Allow fixes that change the render pass (alpha-affecting classes).","type":"boolean"},"fix":{"description":"Comma-separated fix classes to eliminate.","minLength":1,"type":"string"},"inputPath":{"description":"Raster image or .mcpx path to clean up.","minLength":1,"type":"string"},"outputMcpxPath":{"description":"Explicit .mcpx output path. When omitted, the .mcpx text is embedded in the result instead of written to disk.","minLength":1,"type":"string"},"outputPngPath":{"description":"Explicit PNG output path. When omitted, the PNG bytes are embedded in the result instead of written to disk.","minLength":1,"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"},"selection":{"description":"Scope operations to a selection expression: all, rect:x,y,w,h, region:id, alpha[:layer], color[:layer]:r,g,b,a, connected[:layer]:x,y, or a JSON expression object with op union|intersect|subtract|invert and operands [...].","minLength":1,"type":"string"}},"required":["inputPath"],"type":"object"},"name":"cleanup_asset"},{"description":"Run the palette extract or inspect subcommand over an image and return a read-only report of unique colors, distribution, roles, or contrast. Reads only, never writes.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"inputPath":{"description":"Raster image or .mcpx path to inspect.","minLength":1,"type":"string"},"mode":{"description":"Palette subcommand: extract or inspect.","enum":["extract","inspect"],"type":"string"}},"required":["mode","inputPath"],"type":"object"},"name":"palette_asset"},{"description":"Run the material list or show subcommand and return a read-only report of builtin material definitions or one material's color ramps. Reads only, never writes.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"mode":{"description":"Material subcommand: list or show.","enum":["list","show"],"type":"string"},"name":{"description":"Material name to show; required for show.","minLength":1,"type":"string"}},"required":["mode"],"type":"object"},"name":"material_asset"},{"description":"Analyze seams, edge repetition, and brightness continuity of a tileable image, with an optional tiled preview grid. Reads the input and returns a report, or writes a preview PNG only to the explicit output path; never invents filenames.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"brightnessMatch":{"description":"Brightness-match axis: horizontal, vertical, or both.","enum":["horizontal","vertical","both"],"type":"string"},"edgeMatch":{"description":"Edge-match axis: horizontal, vertical, or both.","enum":["horizontal","vertical","both"],"type":"string"},"inputPath":{"description":"Raster image or .mcpx path for seam analysis.","minLength":1,"type":"string"},"outputPngPath":{"description":"Explicit PNG output path. When omitted, the PNG bytes are embedded in the result instead of written to disk.","minLength":1,"type":"string"},"preview":{"description":"Tiled preview grid: 2x2, 4x4, or 8x8.","enum":["2x2","4x4","8x8"],"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"}},"required":["inputPath"],"type":"object"},"name":"tile_asset"},{"description":"Generate a deterministic procedural texture from a named pattern, size, palette, and seed. Returns PNG bytes and/or the editable .mcpx source via explicit output paths or embedded artifacts; no force, mkdir, or in-place writes.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"outputMcpxPath":{"description":"Explicit .mcpx output path. When omitted, the .mcpx text is embedded in the result instead of written to disk.","minLength":1,"type":"string"},"outputPngPath":{"description":"Explicit PNG output path. When omitted, the PNG bytes are embedded in the result instead of written to disk.","minLength":1,"type":"string"},"palette":{"description":"Builtin material name or .mcpx path for colors.","minLength":1,"type":"string"},"pattern":{"description":"Procedural pattern: noise, clustered-noise, stripes, checker, gradient, brick, spots, veins, cracks, or grain.","minLength":1,"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"},"seed":{"description":"Deterministic seed: integer 0-4294967295.","maximum":4294967295,"minimum":0,"type":"integer"},"size":{"description":"Output size: 16, 32, 64, 128, or WxH.","minLength":1,"type":"string"}},"required":["pattern","size","palette","seed"],"type":"object"},"name":"generate_asset"},{"description":"Preview an image in ascii, palette-map, scale, or nine-slice mode. Read-only except scale and nine-slice, which may write a PNG only to the explicit output path; never invents filenames.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"background":{"description":"contact-sheet only: sheet background.","enum":["dark","light"],"type":"string"},"columns":{"description":"contact-sheet only: grid columns, 1 to 16.","maximum":16,"minimum":1,"type":"integer"},"inputPath":{"description":"Raster image or .mcpx path to preview; omitted in contact-sheet mode.","minLength":1,"type":"string"},"inputPaths":{"description":"contact-sheet only: input image paths in sheet order.","items":{"minLength":1,"type":"string"},"maxItems":256,"minItems":1,"type":"array"},"mcmetaPath":{"description":"Explicit .mcmeta path used by nine-slice mode.","minLength":1,"type":"string"},"mode":{"description":"Preview mode: ascii, palette-map, scale, nine-slice, or contact-sheet.","enum":["ascii","palette-map","scale","nine-slice","contact-sheet"],"type":"string"},"outputPngPath":{"description":"Explicit PNG output path. When omitted, the PNG bytes are embedded in the result instead of written to disk.","minLength":1,"type":"string"},"pairMode":{"description":"contact-sheet only: pair two inputs per cell.","enum":["none","sequential"],"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"},"scale":{"description":"Upscale factor for scale mode.","type":"number"}},"required":["mode"],"type":"object"},"name":"preview_asset"},{"description":"Run one animation subcommand (pack, unpack, reorder, resize, validate, or preview) over frames or a sprite sheet. Pack writes a sheet PNG only to the explicit output path and unpack, reorder, and resize write frames only to the explicit output directory; validate and preview return read-only reports.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"angle":{"description":"sweep: band angle in degrees; only 45, 90, 135, and 180.","enum":[45,90,135,180],"type":"number"},"color":{"description":"sweep: opaque #RRGGBB band colour.","minLength":1,"type":"string"},"columns":{"description":"Grid column count.","type":"number"},"format":{"description":"unpack: per-frame output format, mcpx by default.","enum":["mcpx","png"],"type":"string"},"frameSize":{"description":"Frame size as N or WxH.","minLength":1,"type":"string"},"frames":{"description":"sweep: frame count including the untouched first frame.","maximum":64,"minimum":1,"type":"integer"},"framesDir":{"description":"Frames directory for pack, reorder, resize, validate, preview.","minLength":1,"type":"string"},"frametime":{"description":"sweep: ticks per frame of the generated document.","minimum":1,"type":"integer"},"holdTicks":{"description":"sweep: ticks the first frame rests for.","minimum":1,"type":"integer"},"inputPath":{"description":"sweep: still image to sweep; read only, never written.","minLength":1,"type":"string"},"layout":{"description":"Sheet layout: vertical, horizontal, or grid. Required for pack, unpack, and preview.","enum":["vertical","horizontal","grid"],"type":"string"},"mcmetaPath":{"description":"Explicit .mcmeta path used by unpack and validate.","minLength":1,"type":"string"},"mode":{"description":"Animation subcommand: pack, sweep, unpack, reorder, resize, validate, or preview.","enum":["pack","sweep","unpack","reorder","resize","validate","preview"],"type":"string"},"order":{"description":"Frame order for reorder as i,j,...","minLength":1,"type":"string"},"outputDir":{"description":"Explicit output directory for unpack, reorder, and resize.","minLength":1,"type":"string"},"outputMcmetaPath":{"description":"sweep: optional companion .mcmeta output path.","minLength":1,"type":"string"},"outputPngPath":{"description":"Explicit PNG output path. When omitted, the PNG bytes are embedded in the result instead of written to disk.","minLength":1,"type":"string"},"profile":{"description":"Asset profile; omitted means generic.","enum":["generic","minecraft:item","minecraft:block","minecraft:gui","minecraft:particle"],"type":"string"},"resizeMode":{"description":"Resize sampling: nearest, box, or pixel-aware.","enum":["nearest","box","pixel-aware"],"type":"string"},"sheetPath":{"description":"Sprite sheet path used as unpack input.","minLength":1,"type":"string"},"width":{"description":"sweep: band width in pixels, 1 to 8.","maximum":8,"minimum":1,"type":"integer"}},"required":["mode"],"type":"object"},"name":"animate_asset"},{"description":"Scan a resource pack root for namespace, model, texture, and atlas integrity and return a read-only verdict with findings. Reads only, never writes.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"dependencyPaths":{"description":"Dependency pack roots; the first entry has the highest priority.","items":{"minLength":1,"type":"string"},"type":"array"},"minecraftVersion":{"description":"Release Minecraft version 1.19.3 through 26.3 (for example \"1.19.3\", \"1.21.4\", \"26.3\"). Omitted means engine defaults.","minLength":1,"type":"string"},"packPath":{"description":"Resource pack root directory.","minLength":1,"type":"string"},"resourcePackVersion":{"description":"Target resource-pack version as N or N.M (e.g. 84, 97.1); normalized to major.minor. Omitted means engine defaults.","minLength":1,"type":"string"},"vanillaPath":{"description":"Vanilla assets directory used to resolve minecraft references.","minLength":1,"type":"string"}},"required":["packPath"],"type":"object"},"name":"validate_pack_asset"},{"description":"Scale a GUI sprite to N or WxH with the mcmeta stretch/tile/nine_slice mapping. Returns PNG bytes and/or the scaled PNG via an explicit output path; never invents filenames.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"inputPath":{"description":"Raster image or .mcpx path to scale as a GUI sprite.","minLength":1,"type":"string"},"mcmetaPath":{"description":"Explicit .mcmeta path for the scaling section, used verbatim; omitted means stretch.","minLength":1,"type":"string"},"minecraftVersion":{"description":"Release Minecraft version 1.19.3 through 26.3 (for example \"1.19.3\", \"1.21.4\", \"26.3\"). Omitted means engine defaults.","minLength":1,"type":"string"},"outputPngPath":{"description":"Explicit PNG output path. When omitted, the PNG bytes are embedded in the result instead of written to disk.","minLength":1,"type":"string"},"resourcePackVersion":{"description":"Target resource-pack version as N or N.M (e.g. 84, 97.1); normalized to major.minor. Omitted means engine defaults.","minLength":1,"type":"string"},"size":{"description":"Target size: N or WxH.","minLength":1,"type":"string"}},"required":["inputPath","size"],"type":"object"},"name":"scale_gui_asset"},{"description":"Inspect an editable .mcpx source or raster image without writing: structure reports layers, regions, color usage, and overlaps; view returns the composited PNG plus metadata. Raster inputs read as a single base layer.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"crop":{"description":"View-only selection expression (atom string or JSON expression object) naming the crop; an empty match refuses with EMPTY_SELECTION."},"inputPath":{"description":"Editable .mcpx source or raster image path to inspect; raster inputs read as a single base layer. Never written.","minLength":1,"type":"string"},"mode":{"description":"Inspect mode: structure for layers, regions, color usage, and overlaps; view for the composited PNG plus metadata.","enum":["structure","view"],"type":"string"},"scale":{"description":"View-only integer upscale factor 1-16 with nearest sampling; omitted means 1.","maximum":16,"minimum":1,"type":"integer"}},"required":["inputPath","mode"],"type":"object"},"name":"inspect_asset"},{"description":"Losslessly optimize explicit PNG inputs without rewriting sources.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"ancillary":{"description":"preserve (default) copies metadata chunks and refuses sources whose chunks depend on the color layout; strip drops every ancillary chunk and lists them.","enum":["preserve","strip"],"type":"string"},"dryRun":{"description":"Compute the full report and write nothing.","type":"boolean"},"inputDir":{"description":"Directory containing PNG files to optimize (up to 4096 PNGs). Mutually exclusive with inputPaths.","minLength":1,"type":"string"},"inputPaths":{"description":"PNG files to optimize (1 to 256 explicit paths; no globs, no directories). Mutually exclusive with inputDir. Never written.","items":{"minLength":1,"type":"string"},"maxItems":256,"minItems":1,"type":"array"},"mode":{"description":"auto (default) keeps the smallest exact encoding or the source; a named mode forces that encoding and fails with OPTIMIZE_MODE_NOT_EXACT when it cannot hold the pixels exactly.","enum":["auto","rgba","rgb","grayscale","grayscale-alpha","indexed"],"type":"string"},"outputDir":{"description":"Existing directory receiving <input basename> for every input.","minLength":1,"type":"string"},"outputPath":{"description":"Explicit .png output path; only with exactly one input.","minLength":1,"type":"string"},"recursive":{"description":"When scanning inputDir, recursively include subdirectories (default false).","type":"boolean"}},"type":"object"},"name":"optimize_asset"},{"description":"Inspect, validate, create, apply, export, or preview Java models. Preview renders a diagnostic three-view PNG, never writes without outputPath, and never claims game rendering.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"binding":{"additionalProperties":false,"description":"export: item definition and/or blockstate to generate next to the model.","properties":{"blockstate":{"additionalProperties":false,"properties":{"blockId":{"minLength":1,"type":"string"},"multipart":{"items":{"additionalProperties":false,"properties":{"apply":{"anyOf":[{"$ref":"#/properties/binding/properties/blockstate/properties/variants/additionalProperties/anyOf/0"},{"items":{"$ref":"#/properties/binding/properties/blockstate/properties/variants/additionalProperties/anyOf/0"},"minItems":1,"type":"array"}]},"when":{"additionalProperties":{"type":["string","boolean"]},"type":"object"}},"required":["apply"],"type":"object"},"maxItems":64,"type":"array"},"variants":{"additionalProperties":{"anyOf":[{"additionalProperties":false,"properties":{"model":{"minLength":1,"type":"string"},"uvlock":{"type":"boolean"},"weight":{"minimum":1,"type":"integer"},"x":{"$ref":"#/properties/spec/properties/elements/items/properties/faces/properties/down/properties/rotation"},"y":{"$ref":"#/properties/spec/properties/elements/items/properties/faces/properties/down/properties/rotation"},"z":{"$ref":"#/properties/spec/properties/elements/items/properties/faces/properties/down/properties/rotation"}},"required":["model"],"type":"object"},{"items":{"$ref":"#/properties/binding/properties/blockstate/properties/variants/additionalProperties/anyOf/0"},"minItems":1,"type":"array"}]},"type":"object"}},"required":["blockId"],"type":"object"},"item":{"additionalProperties":false,"properties":{"handAnimationOnSwap":{"type":"boolean"},"itemId":{"minLength":1,"type":"string"},"modelId":{"minLength":1,"type":"string"},"oversizedInGui":{"type":"boolean"},"swapAnimationScale":{"type":"number"}},"required":["itemId","modelId"],"type":"object"}},"type":"object"},"blockstateOutputPath":{"description":"export: explicit .json path for the blockstate (needs binding.blockstate).","minLength":1,"type":"string"},"dependencyPaths":{"description":"Dependency pack roots; the first entry has the highest priority.","items":{"minLength":1,"type":"string"},"type":"array"},"inputPath":{"description":"Model JSON file for inspect, validate, apply, export.","minLength":1,"type":"string"},"itemOutputPath":{"description":"export: explicit .json path for the item definition (needs binding.item).","minLength":1,"type":"string"},"minecraftVersion":{"description":"Release Minecraft version 1.19.3 through 26.3 (for example \"1.19.3\", \"1.21.4\", \"26.3\"). Omitted means engine defaults.","minLength":1,"type":"string"},"mode":{"description":"inspect and validate are read-only; create and apply produce a model document; export places a model and optional bindings; preview renders a diagnostic three-view PNG.","enum":["inspect","validate","create","apply","export","preview"],"type":"string"},"operations":{"description":"apply: ordered typed operations; all validated before any result exists.","items":{"anyOf":[{"additionalProperties":false,"properties":{"op":{"const":"set_parent","type":"string"},"parent":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}]}},"required":["op","parent"],"type":"object"},{"additionalProperties":false,"properties":{"ambientocclusion":{"type":["boolean","null"]},"guiLight":{"anyOf":[{"enum":["front","side"],"type":"string"},{"type":"null"}]},"op":{"const":"set_property","type":"string"}},"required":["op"],"type":"object"},{"additionalProperties":false,"properties":{"name":{"minLength":1,"type":"string"},"op":{"const":"set_texture","type":"string"},"value":{"$ref":"#/properties/spec/properties/textures/additionalProperties"}},"required":["op","name","value"],"type":"object"},{"additionalProperties":false,"properties":{"name":{"minLength":1,"type":"string"},"op":{"const":"remove_texture","type":"string"}},"required":["op","name"],"type":"object"},{"additionalProperties":false,"properties":{"element":{"$ref":"#/properties/spec/properties/elements/items"},"index":{"minimum":0,"type":"integer"},"op":{"const":"add_element","type":"string"}},"required":["op","element"],"type":"object"},{"additionalProperties":false,"properties":{"changes":{"additionalProperties":false,"properties":{"from":{"$ref":"#/properties/spec/properties/elements/items/properties/from"},"lightEmission":{"anyOf":[{"maximum":15,"minimum":0,"type":"integer"},{"type":"null"}]},"name":{"type":["string","null"]},"rotation":{"anyOf":[{"$ref":"#/properties/spec/properties/elements/items/properties/rotation"},{"type":"null"}]},"shade":{"type":["boolean","null"]},"shadeDirectionOverride":{"anyOf":[{"$ref":"#/properties/spec/properties/elements/items/properties/shadeDirectionOverride"},{"type":"null"}]},"to":{"$ref":"#/properties/spec/properties/elements/items/properties/from"}},"type":"object"},"index":{"$ref":"#/properties/operations/items/anyOf/4/properties/index"},"op":{"const":"update_element","type":"string"}},"required":["op","index","changes"],"type":"object"},{"additionalProperties":false,"properties":{"index":{"$ref":"#/properties/operations/items/anyOf/4/properties/index"},"op":{"const":"remove_element","type":"string"}},"required":["op","index"],"type":"object"},{"additionalProperties":false,"properties":{"element":{"$ref":"#/properties/operations/items/anyOf/4/properties/index"},"face":{"$ref":"#/properties/spec/properties/elements/items/properties/shadeDirectionOverride"},"op":{"const":"add_face","type":"string"},"value":{"$ref":"#/properties/spec/properties/elements/items/properties/faces/properties/down"}},"required":["op","element","face","value"],"type":"object"},{"additionalProperties":false,"properties":{"changes":{"additionalProperties":false,"properties":{"cullface":{"anyOf":[{"$ref":"#/properties/spec/properties/elements/items/properties/shadeDirectionOverride"},{"type":"null"}]},"rotation":{"anyOf":[{"$ref":"#/properties/spec/properties/elements/items/properties/faces/properties/down/properties/rotation"},{"type":"null"}]},"texture":{"minLength":1,"type":"string"},"tintindex":{"anyOf":[{"type":"integer"},{"type":"null"}]},"uv":{"anyOf":[{"$ref":"#/properties/spec/properties/elements/items/properties/faces/properties/down/properties/uv"},{"type":"null"}]}},"type":"object"},"element":{"$ref":"#/properties/operations/items/anyOf/4/properties/index"},"face":{"$ref":"#/properties/spec/properties/elements/items/properties/shadeDirectionOverride"},"op":{"const":"update_face","type":"string"}},"required":["op","element","face","changes"],"type":"object"},{"additionalProperties":false,"properties":{"element":{"$ref":"#/properties/operations/items/anyOf/4/properties/index"},"face":{"$ref":"#/properties/spec/properties/elements/items/properties/shadeDirectionOverride"},"op":{"const":"remove_face","type":"string"}},"required":["op","element","face"],"type":"object"},{"additionalProperties":false,"properties":{"op":{"const":"set_display","type":"string"},"position":{"enum":["thirdperson_righthand","thirdperson_lefthand","firstperson_righthand","firstperson_lefthand","gui","head","ground","fixed","on_shelf"],"type":"string"},"value":{"$ref":"#/properties/spec/properties/display/properties/thirdperson_righthand"}},"required":["op","position","value"],"type":"object"},{"additionalProperties":false,"properties":{"op":{"const":"remove_display","type":"string"},"position":{"$ref":"#/properties/operations/items/anyOf/10/properties/position"}},"required":["op","position"],"type":"object"}]},"maxItems":1000,"minItems":1,"type":"array"},"outputPath":{"description":"Explicit .json path for the model (create, apply, export).","minLength":1,"type":"string"},"outputPngPath":{"description":"preview only: explicit .png path. When omitted nothing is written and the image is returned as a standard image block.","minLength":1,"type":"string"},"packPath":{"description":"Resource pack root: the current layer; also fixes the model id of inputPath.","minLength":1,"type":"string"},"resourcePackVersion":{"description":"Target resource-pack version as N or N.M (e.g. 84, 97.1); normalized to major.minor. Omitted means engine defaults.","minLength":1,"type":"string"},"size":{"anyOf":[{"enum":[64,128],"type":"number"},{"const":256,"type":"number"}],"description":"preview only: panel edge in pixels, one of 64, 128, or 256 (default 64)."},"spec":{"additionalProperties":false,"description":"create: explicit model description.","properties":{"ambientocclusion":{"type":"boolean"},"display":{"additionalProperties":false,"properties":{"firstperson_lefthand":{"$ref":"#/properties/spec/properties/display/properties/thirdperson_righthand"},"firstperson_righthand":{"$ref":"#/properties/spec/properties/display/properties/thirdperson_righthand"},"fixed":{"$ref":"#/properties/spec/properties/display/properties/thirdperson_righthand"},"ground":{"$ref":"#/properties/spec/properties/display/properties/thirdperson_righthand"},"gui":{"$ref":"#/properties/spec/properties/display/properties/thirdperson_righthand"},"head":{"$ref":"#/properties/spec/properties/display/properties/thirdperson_righthand"},"on_shelf":{"$ref":"#/properties/spec/properties/display/properties/thirdperson_righthand"},"thirdperson_lefthand":{"$ref":"#/properties/spec/properties/display/properties/thirdperson_righthand"},"thirdperson_righthand":{"additionalProperties":false,"properties":{"rotation":{"$ref":"#/properties/spec/properties/elements/items/properties/from"},"scale":{"$ref":"#/properties/spec/properties/elements/items/properties/from"},"translation":{"$ref":"#/properties/spec/properties/elements/items/properties/from"}},"type":"object"}},"type":"object"},"elements":{"items":{"additionalProperties":false,"properties":{"faces":{"additionalProperties":false,"properties":{"down":{"additionalProperties":false,"properties":{"cullface":{"$ref":"#/properties/spec/properties/elements/items/properties/shadeDirectionOverride"},"rotation":{"enum":[0,90,180,270],"type":"number"},"texture":{"minLength":1,"type":"string"},"tintindex":{"type":"integer"},"uv":{"items":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"maxItems":4,"minItems":4,"type":"array"}},"required":["texture"],"type":"object"},"east":{"$ref":"#/properties/spec/properties/elements/items/properties/faces/properties/down"},"north":{"$ref":"#/properties/spec/properties/elements/items/properties/faces/properties/down"},"south":{"$ref":"#/properties/spec/properties/elements/items/properties/faces/properties/down"},"up":{"$ref":"#/properties/spec/properties/elements/items/properties/faces/properties/down"},"west":{"$ref":"#/properties/spec/properties/elements/items/properties/faces/properties/down"}},"type":"object"},"from":{"items":[{"type":"number"},{"type":"number"},{"type":"number"}],"maxItems":3,"minItems":3,"type":"array"},"lightEmission":{"maximum":15,"minimum":0,"type":"integer"},"name":{"type":"string"},"rotation":{"anyOf":[{"additionalProperties":false,"properties":{"angle":{"type":"number"},"axis":{"enum":["x","y","z"],"type":"string"},"origin":{"$ref":"#/properties/spec/properties/elements/items/properties/from"},"rescale":{"type":"boolean"}},"required":["origin","axis","angle"],"type":"object"},{"additionalProperties":false,"properties":{"origin":{"$ref":"#/properties/spec/properties/elements/items/properties/from"},"rescale":{"type":"boolean"},"x":{"type":"number"},"y":{"type":"number"},"z":{"type":"number"}},"required":["origin"],"type":"object"}]},"shade":{"type":"boolean"},"shadeDirectionOverride":{"enum":["down","up","north","south","west","east"],"type":"string"},"to":{"$ref":"#/properties/spec/properties/elements/items/properties/from"}},"required":["from","to","faces"],"type":"object"},"maxItems":4096,"type":"array"},"guiLight":{"enum":["front","side"],"type":"string"},"parent":{"minLength":1,"type":"string"},"textures":{"additionalProperties":{"anyOf":[{"minLength":1,"type":"string"},{"additionalProperties":false,"properties":{"forceTranslucent":{"type":"boolean"},"sprite":{"minLength":1,"type":"string"}},"required":["sprite"],"type":"object"}]},"propertyNames":{"minLength":1},"type":"object"}},"type":"object"},"vanillaPath":{"description":"Vanilla assets directory used to resolve minecraft references.","minLength":1,"type":"string"}},"required":["mode"],"type":"object"},"name":"model_asset"},{"description":"Generate an animation or GUI scaling .mcmeta document from a PNG. Writes only to the explicit .mcmeta outputPath (never merges; force replaces the whole file); without outputPath it returns the text. The PNG is read only. Checks the document is valid, not how it looks in game.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"border":{"anyOf":[{"minimum":0,"type":"integer"},{"additionalProperties":false,"properties":{"bottom":{"minimum":0,"type":"integer"},"left":{"minimum":0,"type":"integer"},"right":{"minimum":0,"type":"integer"},"top":{"minimum":0,"type":"integer"}},"required":["left","top","right","bottom"],"type":"object"}],"description":"gui nine_slice: border N or per-side object (required there)."},"force":{"description":"Replace an existing outputPath file as a whole.","type":"boolean"},"frameSize":{"description":"animation: frame size N or WxH (required).","minLength":1,"type":"string"},"frames":{"description":"animation: playback order of indices and/or {index,time}; repeats and partial lists are valid. Omitted means all frames in order.","items":{"anyOf":[{"minimum":0,"type":"integer"},{"additionalProperties":false,"properties":{"index":{"minimum":0,"type":"integer"},"time":{"minimum":1,"type":"integer"}},"required":["index"],"type":"object"}]},"type":"array"},"frametime":{"description":"animation: ticks per frame, default 1.","minimum":1,"type":"integer"},"holdTicks":{"description":"animation preset: ticks the first frame rests for, default 100.","minimum":1,"type":"integer"},"inputPath":{"description":"PNG path; read only, never written.","minLength":1,"type":"string"},"interpolate":{"description":"animation: blend frames.","type":"boolean"},"minecraftVersion":{"description":"Release Minecraft version 1.19.3 through 26.3 (for example \"1.19.3\", \"1.21.4\", \"26.3\"). Omitted means engine defaults.","minLength":1,"type":"string"},"mkdir":{"description":"Create missing parent directories.","type":"boolean"},"mode":{"description":"animation writes an animation section; gui a gui.scaling one.","enum":["animation","gui"],"type":"string"},"outputPath":{"description":"Explicit .mcmeta path. When omitted nothing is written and the document text is returned.","minLength":1,"type":"string"},"preset":{"description":"animation: expand frames from a named timeline shape; conflicts with frames.","enum":["hold-and-sweep","ping-pong","pulse"],"type":"string"},"resourcePackVersion":{"description":"Target resource-pack version as N or N.M (e.g. 84, 97.1); normalized to major.minor. Omitted means engine defaults.","minLength":1,"type":"string"},"stretchInner":{"description":"gui nine_slice only: stretch the inner bands.","type":"boolean"},"type":{"description":"gui: scaling type (required).","enum":["stretch","tile","nine_slice"],"type":"string"}},"required":["mode","inputPath"],"type":"object"},"name":"mcmeta_asset"},{"description":"Compare same-size PNGs without modifying sources. Optional diagnostic image marks visible changes magenta and raw-only changes cyan; not a replacement asset.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"afterPath":{"minLength":1,"type":"string"},"beforePath":{"minLength":1,"type":"string"},"force":{"type":"boolean"},"image":{"enum":["none","diff"],"type":"string"},"mkdir":{"type":"boolean"},"outputPath":{"minLength":1,"type":"string"},"scale":{"maximum":16,"minimum":1,"type":"integer"}},"required":["beforePath","afterPath"],"type":"object"},"name":"compare_assets"},{"description":"List the builtin style presets, show one resolved style (builtin id or a .style.json path with its extends chain), export a family palette as .mcpx, or write a new .style.json document. Style files are read-only inputs except for create and export-palette, which write only their explicit output path.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"baselinePath":{"description":"audit only: baseline member, defaults to the first input.","minLength":1,"type":"string"},"category":{"description":"lint only: item category id, so its threshold overrides apply; omitted means category-scoped rules do not run.","minLength":1,"type":"string"},"extends":{"description":"create only: builtin id or .style.json path to inherit; defaults to vanilla.","minLength":1,"type":"string"},"family":{"description":"export-palette only: family id, or all for every family.","minLength":1,"type":"string"},"force":{"description":"Replace an existing output file as a whole (export-palette and create).","type":"boolean"},"id":{"description":"create only: style id.","minLength":1,"type":"string"},"inputPath":{"description":"lint only: raster image path to measure and check; read only, never written.","minLength":1,"type":"string"},"inputPaths":{"description":"audit only: texture paths in audit order.","items":{"minLength":1,"type":"string"},"maxItems":256,"minItems":2,"type":"array"},"mkdir":{"description":"Create missing parent directories (create).","type":"boolean"},"mode":{"description":"Style subcommand: list, show, export-palette, create, lint, or audit.","enum":["list","show","export-palette","create","lint","audit"],"type":"string"},"name":{"description":"create only: display name; defaults to the id.","minLength":1,"type":"string"},"outputMcpxPath":{"description":"export-palette only: explicit .mcpx output path. When omitted the palette text returns in the result and nothing is written.","minLength":1,"type":"string"},"outputPath":{"description":"create only: explicit .style.json output path.","minLength":1,"type":"string"},"overrides":{"additionalProperties":{},"description":"create only: style sections merged into the new document, for example {\"limits\":{\"maxColors\":12}}.","type":"object"},"paths":{"description":"list only: custom .style.json paths to report alongside the builtin presets; each one loads or is reported as unreadable.","items":{"minLength":1,"type":"string"},"type":"array"},"style":{"description":"show and export-palette: builtin style id or a .style.json path.","minLength":1,"type":"string"}},"required":["mode"],"type":"object"},"name":"style_asset"},{"description":"Create a resource pack project: init writes the project document, the pack root metadata for the pinned release version, a 64x64 placeholder icon, and the assets directory skeleton in one preflighted batch. An occupied target refuses the whole batch and reports every conflicting path; nothing is overwritten. The project document is written once and then read only.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"allowMinecraftNamespace":{"description":"init only: allow the reserved minecraft namespace; refused without it.","type":"boolean"},"category":{"description":"catalog only: exact texture category filter.","minLength":1,"type":"string"},"checkMinecraftVersion":{"description":"check only: release version override.","minLength":1,"type":"string"},"description":{"description":"init only: pack description of 1 to 128 characters; defaults to the name.","minLength":1,"type":"string"},"dryRun":{"description":"build only: plan only, write nothing.","type":"boolean"},"force":{"description":"extract only: allow overwriting existing files.","type":"boolean"},"includeFamilies":{"description":"catalog only: include the mask family index.","type":"boolean"},"jarPath":{"description":"extract only: caller-specified client jar path.","minLength":1,"type":"string"},"minecraftVersion":{"description":"init only: release version 1.19.3 through 26.3 (for example \"1.21.9\" or \"26.3\").","minLength":1,"type":"string"},"mkdir":{"description":"extract only: create missing parent directories.","type":"boolean"},"mode":{"description":"Pack subcommand: init, build, catalog, extract, check, or package.","enum":["init","build","catalog","extract","check","package"],"type":"string"},"name":{"description":"init only: project name; defaults to the directory name.","minLength":1,"type":"string"},"namespace":{"description":"init only: resource namespace of the pack; lowercase letters, digits, underscore, dot, and dash.","minLength":1,"type":"string"},"outputDir":{"description":"extract only: directory receiving assets/ entries.","minLength":1,"type":"string"},"outputPath":{"description":"package only: explicit .zip output path.","minLength":1,"type":"string"},"page":{"description":"catalog only: page number.","minimum":1,"type":"integer"},"pageSize":{"description":"catalog only: entries per page, at most 1000.","maximum":1000,"minimum":1,"type":"integer"},"projectDir":{"description":"init only: project directory to create the skeleton in.","minLength":1,"type":"string"},"projectPath":{"description":"build only: project document path (mc-asset.pack.json).","minLength":1,"type":"string"},"recipe":{"description":"build only: a single recipe file; omitted reads every *.recipe.json.","minLength":1,"type":"string"},"resourcePackVersion":{"description":"init only: resource-pack format N or N.M overriding the release version.","minLength":1,"type":"string"},"style":{"description":"init only: builtin style id or a .style.json path recorded in the project document; defaults to vanilla.","minLength":1,"type":"string"},"vanillaPath":{"description":"catalog only: vanilla tree directory containing assets/.","minLength":1,"type":"string"}},"required":["mode"],"type":"object"},"name":"pack_asset"}]}}}
