{"at":"2026-11-23T06:17:47.225Z","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-23T06:17:47.633Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"texel","title":"Texel","version":"0.9.2"}},"cacheScope":"private","capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true},"tools":{"listChanged":true}},"instructions":"Texel compiles Minecraft skin specs (JSON: palette + ordered drawing ops) into PNGs: 64×64 player skins by default, and with \"layout\" also mobs (zombies, horses, foxes, illagers, golems… 57 mob layouts), armor, capes/elytra, items, blocks with their top and side files, plants, GUI sprites, particles and paintings (texel://docs/spec, section \"Layouts\"). Protocol texel/1.\nBeyond one texture: \"animation\" (frames as patches) gives animated items, blocks, GUI sprites and particles; \"emissive\": true on an op writes the glowing pixels to <name>_eyes.png; texel_pack builds a resource pack from specs and texel_check_pack checks any pack; texel_import_png with pixelize turns a picture into an editable spec.\nWorkflow: read the \"spec\" docs (texel_read_docs or resource texel://docs/spec), draft a spec, call texel_render, look at the returned review sheet image and the issues, fix the weakest area (texel_patch changes a few layers by id), render again, then texel_save and texel_share. To judge one area up close, pass focus (e.g. [\"head\"]) to texel_render; to match a reference image, start the palette with texel_palette.\nKeep the spec in a workspace file and pass \"file\" instead of \"spec\" to texel_render, texel_patch and texel_validate: texel_patch then edits the file in place and replies with only the review, so the spec isn't resent on every iteration.\nWhen a person is waiting on the result, call texel_live first and give them the URL: every texel_render then appears in their open studio tab, so they can watch and steer while you work.\nFor many related skins (teams, factions, tiers), write a family (kind: \"family\") and use texel_render_family / texel_save_family.\nThe score only measures technical hygiene; judge appearance from the sheet image against the brief.","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T06:17:47.633Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T06:17:47.639Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"texel","title":"Texel","version":"0.9.2"}},"cacheScope":"private","resultType":"complete","tools":[{"_meta":{"ui":{"resourceUri":"ui://texel/viewer"}},"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Compile a skin spec and review it. Returns a review sheet image (front | back | right | left views + raw texture), the review (score, issues with JSON paths and fix hints, art checks, craft advice, suggested next steps) and, on request, the texture (64×64 for a player skin), a text render and a close-up of some parts. Deterministic; never modifies files.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"file":{"description":"Instead of \"spec\": a .json spec file in the workspace, e.g. \"skins/knight.json\". Saves resending the whole spec on every call; texel_patch then edits the file in place.","minLength":1,"type":"string"},"focus":{"description":"Also return a close-up of these parts or groups alone (e.g. [\"head\"], [\"arms\"]) from all six sides, large, on gray: for judging a face, a hood or one garment.","items":{"type":"string"},"type":"array"},"include":{"default":["sheet"],"description":"Extra outputs. \"sheet\" is the review image; \"ascii\" adds a text render for models without vision.","items":{"enum":["sheet","texture","ascii"],"type":"string"},"type":"array"},"spec":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1"}},"type":"object"},"name":"texel_render","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"art":{"additionalProperties":false,"properties":{"advice":{"description":"Classic pixel-art mistakes found in the texture, with the faces where they show. Advisory: never changes a score.","items":{"additionalProperties":false,"properties":{"code":{"enum":["pillow-shading","unshifted-shadows","confetti-noise","edge-mismatch"],"type":"string"},"edges":{"items":{"additionalProperties":false,"properties":{"faces":{"items":false,"maxItems":2,"minItems":2,"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array"},"part":{"type":"string"},"rows":{"items":{"type":"number"},"type":"array"}},"required":["part","faces","rows"],"type":"object"},"type":"array"},"faces":{"items":{"additionalProperties":false,"properties":{"face":{"type":"string"},"part":{"type":"string"}},"required":["part","face"],"type":"object"},"type":"array"},"hint":{"type":"string"},"message":{"type":"string"}},"required":["code","faces","message","hint"],"type":"object"},"type":"array"},"checks":{"items":{"additionalProperties":false,"properties":{"hint":{"type":"string"},"id":{"type":"string"},"note":{"type":"string"},"rubric":{"type":"string"},"score":{"type":"number"}},"required":["id","rubric","score","note","hint"],"type":"object"},"type":"array"},"score":{"description":"0–100 from the art checks: face, silhouette, shading, texture, back, depth, colors.","type":"number"}},"required":["score","checks","advice"],"type":"object"},"issues":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"hint":{"type":"string"},"level":{"enum":["error","warning","info"],"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"required":["level","code","path","message"],"type":"object"},"type":"array"},"layout":{"description":"Texture layout: player, zombie, humanoid (armor), skeleton, item…","type":"string"},"model":{"enum":["classic","slim"],"type":"string"},"name":{"type":"string"},"next":{"items":{"type":"string"},"type":"array"},"ok":{"type":"boolean"},"score":{"type":"number"},"size":{"description":"Texture size in pixels: [width, height].","items":false,"maxItems":2,"minItems":2,"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array"},"stats":{"additionalProperties":false,"properties":{"baseCoverage":{"type":"number"},"colorsUsed":{"type":"number"},"disabledLayers":{"type":"number"},"distinctFrames":{"type":"number"},"emissivePixels":{"type":"number"},"frames":{"type":"number"},"layers":{"type":"number"},"overlayPixels":{"type":"number"},"paletteSize":{"type":"number"},"seams":{"additionalProperties":{"additionalProperties":false,"properties":{"horizontal":{"type":"number"},"vertical":{"type":"number"}},"required":["horizontal","vertical"],"type":"object"},"description":"Tiling layouts: how much each edge breaks where copies meet (1 = seamless, over 2.5 shows).","propertyNames":{"type":"string"},"type":"object"}},"required":["layers","disabledLayers","colorsUsed","baseCoverage","overlayPixels","paletteSize"],"type":"object"}},"required":["ok","name","model","layout","size","score","art","issues","stats","next"],"type":"object"},"title":"Render skin"},{"_meta":{"ui":{"resourceUri":"ui://texel/viewer"}},"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Apply a patch to a spec (update, replace, add or remove layers by id; change palette, legend or meta) and render the result like texel_render. Layers without an id first get \"<op>-<index>\" and keep it, so the next patch can use the same ids. Entries that cannot apply are skipped and reported. With \"spec\", returns the patched spec, the review and the sheet. With \"file\", writes the patched spec back to that file and returns only the review and the sheet.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"file":{"description":"Instead of \"spec\": a .json spec file in the workspace, e.g. \"skins/knight.json\". Saves resending the whole spec on every call; texel_patch then edits the file in place.","minLength":1,"type":"string"},"include":{"default":["sheet"],"description":"Extra outputs. \"sheet\" is the review image; \"ascii\" adds a text render for models without vision.","items":{"enum":["sheet","texture","ascii"],"type":"string"},"type":"array"},"patch":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A patch ({ patch: [{ do: \"update\", id, set }, …] }) as a JSON object or JSON text. Format: texel://docs/spec, section \"Patches\"."},"spec":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1"}},"required":["patch"],"type":"object"},"name":"texel_patch","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"applied":{"type":"number"},"art":{"additionalProperties":false,"properties":{"advice":{"description":"Classic pixel-art mistakes found in the texture, with the faces where they show. Advisory: never changes a score.","items":{"additionalProperties":false,"properties":{"code":{"enum":["pillow-shading","unshifted-shadows","confetti-noise","edge-mismatch"],"type":"string"},"edges":{"items":{"additionalProperties":false,"properties":{"faces":{"items":false,"maxItems":2,"minItems":2,"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array"},"part":{"type":"string"},"rows":{"items":{"type":"number"},"type":"array"}},"required":["part","faces","rows"],"type":"object"},"type":"array"},"faces":{"items":{"additionalProperties":false,"properties":{"face":{"type":"string"},"part":{"type":"string"}},"required":["part","face"],"type":"object"},"type":"array"},"hint":{"type":"string"},"message":{"type":"string"}},"required":["code","faces","message","hint"],"type":"object"},"type":"array"},"checks":{"items":{"additionalProperties":false,"properties":{"hint":{"type":"string"},"id":{"type":"string"},"note":{"type":"string"},"rubric":{"type":"string"},"score":{"type":"number"}},"required":["id","rubric","score","note","hint"],"type":"object"},"type":"array"},"score":{"description":"0–100 from the art checks: face, silhouette, shading, texture, back, depth, colors.","type":"number"}},"required":["score","checks","advice"],"type":"object"},"file":{"type":"string"},"issues":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"hint":{"type":"string"},"level":{"enum":["error","warning","info"],"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"required":["level","code","path","message"],"type":"object"},"type":"array"},"layout":{"description":"Texture layout: player, zombie, humanoid (armor), skeleton, item…","type":"string"},"model":{"enum":["classic","slim"],"type":"string"},"name":{"type":"string"},"next":{"items":{"type":"string"},"type":"array"},"ok":{"type":"boolean"},"score":{"type":"number"},"size":{"description":"Texture size in pixels: [width, height].","items":false,"maxItems":2,"minItems":2,"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array"},"skipped":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"hint":{"type":"string"},"level":{"enum":["error","warning","info"],"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"required":["level","code","path","message"],"type":"object"},"type":"array"},"spec":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"stats":{"additionalProperties":false,"properties":{"baseCoverage":{"type":"number"},"colorsUsed":{"type":"number"},"disabledLayers":{"type":"number"},"distinctFrames":{"type":"number"},"emissivePixels":{"type":"number"},"frames":{"type":"number"},"layers":{"type":"number"},"overlayPixels":{"type":"number"},"paletteSize":{"type":"number"},"seams":{"additionalProperties":{"additionalProperties":false,"properties":{"horizontal":{"type":"number"},"vertical":{"type":"number"}},"required":["horizontal","vertical"],"type":"object"},"description":"Tiling layouts: how much each edge breaks where copies meet (1 = seamless, over 2.5 shows).","propertyNames":{"type":"string"},"type":"object"}},"required":["layers","disabledLayers","colorsUsed","baseCoverage","overlayPixels","paletteSize"],"type":"object"}},"required":["ok","name","model","layout","size","score","art","issues","stats","next","applied","skipped"],"type":"object"},"title":"Patch skin"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Check a spec for errors and warnings without rendering images. Cheap; use it after every edit.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"file":{"description":"Instead of \"spec\": a .json spec file in the workspace, e.g. \"skins/knight.json\". Saves resending the whole spec on every call; texel_patch then edits the file in place.","minLength":1,"type":"string"},"spec":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1"}},"type":"object"},"name":"texel_validate","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"issues":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"hint":{"type":"string"},"level":{"enum":["error","warning","info"],"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"required":["level","code","path","message"],"type":"object"},"type":"array"},"ok":{"type":"boolean"},"score":{"type":"number"}},"required":["ok","score","issues"],"type":"object"},"title":"Validate skin spec"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Compile a spec and write <path>.png (the texture), <path>.skin.json (the source) and optionally <path>.sheet.png into the workspace (/opt/server). Also writes every other file the texture is in game: a block's <path>_top.png / _side.png…, an animation's strip with <path>.png.mcmeta, a particle's <path>_0.png…, the glowing pixels as <path>_eyes.png. Refuses specs with errors.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"path":{"description":"Output path without extension, relative to the workspace, e.g. \"skins/frost-mage\".","minLength":1,"type":"string"},"sheet":{"default":false,"description":"Also write the review sheet.","type":"boolean"},"spec":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1"}},"required":["spec","path"],"type":"object"},"name":"texel_save","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"files":{"items":{"type":"string"},"type":"array"},"score":{"type":"number"}},"required":["files","score"],"type":"object"},"title":"Save skin"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Start (or reuse) a live session and return a studio URL for the user. While it runs, every texel_render result appears in their open browser tab immediately, so they can watch the skin evolve and give feedback mid-way. Call it before the first render and share the URL with the user.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"open":{"default":false,"description":"Also open the URL in the default browser of the machine running this server.","type":"boolean"},"port":{"description":"Preferred local port (default 4747; the next free one is used if busy).","maximum":65535,"minimum":1024,"type":"integer"}},"type":"object"},"name":"texel_live","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"port":{"type":"number"},"studioUrl":{"type":"string"},"url":{"type":"string"},"viewers":{"type":"number"}},"required":["url","studioUrl","port","viewers"],"type":"object"},"title":"Start live preview"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Store the spec on https://www.texel.dev.br and return a short link (https://www.texel.dev.br/s/<id>) that opens the exact skin in the studio. Falls back to a long self-contained link when offline.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"spec":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1"}},"required":["spec"],"type":"object"},"name":"texel_share","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"short":{"type":"boolean"},"url":{"type":"string"}},"required":["url","short"],"type":"object"},"title":"Share skin"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Load the spec behind a Texel share link (https://www.texel.dev.br/s/<id>, a bare id, or a long studio link with #z= / #spec=) so you can keep developing an existing skin. Returns the spec JSON.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"link":{"description":"A share link or short id.","minLength":1,"type":"string"}},"required":["link"],"type":"object"},"name":"texel_pull","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"spec":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}},"required":["spec"],"type":"object"},"title":"Load skin from link"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Expand a family (base spec + variants and/or a matrix of axes) and review every member. Returns a lineup image (front and back of each member, in order) and a per-member score table.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"family":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A skin family ({ kind: \"family\", base, variants?, matrix? }) as a JSON object or JSON text. Format: texel://docs/families"}},"required":["family"],"type":"object"},"name":"texel_render_family","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"issues":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"hint":{"type":"string"},"level":{"enum":["error","warning","info"],"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"required":["level","code","path","message"],"type":"object"},"type":"array"},"members":{"items":{"additionalProperties":false,"properties":{"id":{"type":"string"},"issues":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"ok":{"type":"boolean"},"score":{"type":"number"}},"required":["id","name","score","ok","issues"],"type":"object"},"type":"array"},"name":{"type":"string"},"ok":{"type":"boolean"}},"required":["ok","name","members","issues"],"type":"object"},"title":"Render skin family"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Expand a family and write <directory>/<member-id>.png and .skin.json for every member, plus <directory>/lineup.png, into the workspace (/opt/server). Refuses families with errors.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"directory":{"description":"Output directory relative to the workspace, e.g. \"skins/guild\".","minLength":1,"type":"string"},"family":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A skin family ({ kind: \"family\", base, variants?, matrix? }) as a JSON object or JSON text. Format: texel://docs/families"}},"required":["family","directory"],"type":"object"},"name":"texel_save_family","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"files":{"items":{"type":"string"},"type":"array"},"members":{"type":"number"}},"required":["files","members"],"type":"object"},"title":"Save skin family"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Convert an existing PNG in the workspace into an editable spec, one layer per painted face, palette keys c01…cNN. A player skin (64×64 or legacy 64×32) by default; pass layout for a mob, armor, cape, item or block texture. With pixelize, any picture becomes a texture of the layout's size first (concept art or a render on a white background → a 16×16 item; an HD 128×128 skin → 64×64): background removed, colors reduced, specks cleaned. Rename palette keys to material names before editing.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"colors":{"description":"With pixelize: colors to keep (default 16; 0 keeps every averaged color).","maximum":64,"minimum":0,"type":"integer"},"layout":{"description":"Texture layout of the PNG, e.g. \"zombie\", \"humanoid\" (armor), \"item\". Default: player skin.","type":"string"},"outline":{"description":"With pixelize: a 1-pixel outline around the shape, \"#rrggbb\" or \"auto\" (items).","type":"string"},"path":{"description":"Path to a .png file, relative to the workspace.","minLength":1,"type":"string"},"pixelize":{"default":false,"description":"Scale and clean a picture of any size into the layout's texture size first.","type":"boolean"},"size":{"description":"With pixelize: the texture size for resizable layouts (gui, painting, HD items), e.g. [32, 32].","items":false,"maxItems":2,"minItems":2,"prefixItems":[{"maximum":512,"minimum":1,"type":"integer"},{"maximum":512,"minimum":1,"type":"integer"}],"type":"array"}},"required":["path"],"type":"object"},"name":"texel_import_png","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"layout":{"type":"string"},"lossy":{"type":"boolean"},"model":{"enum":["classic","slim"],"type":"string"},"spec":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}},"required":["spec","lossy","model","layout"],"type":"object"},"title":"Import skin PNG"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Read a reference PNG in the workspace (concept art, a photo of a figure, another skin) and return its main colors, most common first, each with a role (shadow, midtone, highlight, neutral, accent), as a ready spec \"palette\" and \"legend\". Use it to match a reference instead of guessing hex values; derive the other tones with \"~\" steps.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"colors":{"default":12,"description":"How many colors to keep.","maximum":32,"minimum":2,"type":"integer"},"path":{"description":"Path to a .png file, relative to the workspace.","minLength":1,"type":"string"}},"required":["path"],"type":"object"},"name":"texel_palette","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"entries":{"items":{"additionalProperties":false,"properties":{"char":{"type":["string","null"]},"color":{"type":"string"},"key":{"type":"string"},"perceptualLightness":{"type":"number"},"role":{"enum":["shadow","midtone","highlight","neutral","accent"],"type":"string"},"share":{"type":"number"}},"required":["key","char","color","share","perceptualLightness","role"],"type":"object"},"type":"array"},"legend":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"},"palette":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["entries","palette","legend"],"type":"object"},"title":"Palette from a reference image"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Build a Minecraft resource pack from spec files, family files and folders of them in the workspace (/opt/server): every texture at its \"asset\" path (or its layout's default: vanilla paths for mobs, item/<name> for items…), with .png.mcmeta, _eyes files, particle definitions, pack.mcmeta for the Minecraft version, and with models: true also the models, block states and item definitions items and blocks need. Writes a .zip or a folder, then checks the result like texel_check_pack.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"description":{"type":"string"},"files":{"description":"Spec files, family files or folders of .json specs, relative to the workspace.","items":{"minLength":1,"type":"string"},"minItems":1,"type":"array"},"mcVersion":{"description":"Minecraft Java version, e.g. \"1.21.4\". Default: the latest Texel knows.","type":"string"},"models":{"default":false,"description":"Also write models, block states and item definitions for item, block and plant textures (new items and blocks need them; replaced vanilla textures don't).","type":"boolean"},"namespace":{"description":"Namespace for textures whose \"asset\" has none. Default \"minecraft\" (replaces vanilla textures); a mod uses its id.","type":"string"},"out":{"default":"texel-pack.zip","description":"Output .zip, or a folder, relative to the workspace.","minLength":1,"type":"string"}},"required":["files"],"type":"object"},"name":"texel_pack","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"files":{"type":"number"},"format":{"type":"number"},"issues":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"hint":{"type":"string"},"level":{"enum":["error","warning","info"],"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"required":["level","code","path","message"],"type":"object"},"type":"array"},"ok":{"type":"boolean"},"out":{"type":"string"},"placed":{"items":{"additionalProperties":false,"properties":{"files":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"}},"required":["name","files"],"type":"object"},"type":"array"},"version":{"type":"string"}},"required":["ok","out","format","version","files","placed","issues"],"type":"object"},"title":"Build resource pack"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Check a resource pack (a folder or a .zip in the workspace, /opt/server), not only ones Texel made: pack.mcmeta and the versions its format covers, file and namespace names, PNGs, .mcmeta animations and GUI scaling, entity texture sizes against Texel's layouts, models, block states, item definitions and particles that point at missing files, and unused textures. Each issue has the file, a JSON path and a fix hint.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"mcVersion":{"description":"Minecraft Java version the pack must work on, e.g. \"1.21.4\".","type":"string"},"path":{"description":"The pack folder or .zip, relative to the workspace.","minLength":1,"type":"string"}},"required":["path"],"type":"object"},"name":"texel_check_pack","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"issues":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"hint":{"type":"string"},"level":{"enum":["error","warning","info"],"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"required":["level","code","path","message"],"type":"object"},"type":"array"},"ok":{"type":"boolean"},"stats":{"additionalProperties":{"type":"number"},"propertyNames":{"type":"string"},"type":"object"},"versions":{"items":{"type":"string"},"type":"array"}},"required":["ok","versions","issues","stats"],"type":"object"},"title":"Check resource pack"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Compare two specs pixel by pixel and report which faces changed. Use it to confirm a patch touched only what you intended. Returns the changed-pixel mask over the texture map (magenta = changed).","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"after":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1"},"before":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1"}},"required":["before","after"],"type":"object"},"name":"texel_diff","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"changedPixels":{"type":"number"},"faces":{"items":{"additionalProperties":false,"properties":{"changed":{"type":"number"},"face":{"type":"string"},"total":{"type":"number"}},"required":["face","changed","total"],"type":"object"},"type":"array"}},"required":["changedPixels","faces"],"type":"object"},"title":"Diff two skins"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Return a complete, working example spec to learn from or fork. Skins: explorer, knight, robot, astronaut, wizard, cozy, winged-pig, miner-zombie, creeper, mud-pig, bronze-armor, banner-cape, ember-blade, zebra, sky-evoker, ash-log, magma-pulse, stone-button, spark. Family: guild.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"enum":["explorer","knight","robot","astronaut","wizard","cozy","winged-pig","miner-zombie","creeper","mud-pig","bronze-armor","banner-cape","ember-blade","zebra","sky-evoker","ash-log","magma-pulse","stone-button","spark","guild"],"type":"string"}},"required":["id"],"type":"object"},"name":"texel_get_example","title":"Get example spec"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Read a documentation page as markdown. Pages: protocol (Skin Agent Protocol), spec (Skin spec reference), art-guide (Skin art guide), families (Skin families), api (Agent interfaces), install (Install as a tool). Read \"spec\" before writing your first spec.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"page":{"enum":["protocol","spec","art-guide","families","api","install"],"type":"string"}},"required":["page"],"type":"object"},"name":"texel_read_docs","title":"Read Texel docs"}],"ttlMs":0}}}
{"at":"2026-11-23T06:17:47.740Z","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-23T06:17:48.170Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true},"tools":{"listChanged":true}},"instructions":"Texel compiles Minecraft skin specs (JSON: palette + ordered drawing ops) into PNGs: 64×64 player skins by default, and with \"layout\" also mobs (zombies, horses, foxes, illagers, golems… 57 mob layouts), armor, capes/elytra, items, blocks with their top and side files, plants, GUI sprites, particles and paintings (texel://docs/spec, section \"Layouts\"). Protocol texel/1.\nBeyond one texture: \"animation\" (frames as patches) gives animated items, blocks, GUI sprites and particles; \"emissive\": true on an op writes the glowing pixels to <name>_eyes.png; texel_pack builds a resource pack from specs and texel_check_pack checks any pack; texel_import_png with pixelize turns a picture into an editable spec.\nWorkflow: read the \"spec\" docs (texel_read_docs or resource texel://docs/spec), draft a spec, call texel_render, look at the returned review sheet image and the issues, fix the weakest area (texel_patch changes a few layers by id), render again, then texel_save and texel_share. To judge one area up close, pass focus (e.g. [\"head\"]) to texel_render; to match a reference image, start the palette with texel_palette.\nKeep the spec in a workspace file and pass \"file\" instead of \"spec\" to texel_render, texel_patch and texel_validate: texel_patch then edits the file in place and replies with only the review, so the spec isn't resent on every iteration.\nWhen a person is waiting on the result, call texel_live first and give them the URL: every texel_render then appears in their open studio tab, so they can watch and steer while you work.\nFor many related skins (teams, factions, tiers), write a family (kind: \"family\") and use texel_render_family / texel_save_family.\nThe score only measures technical hygiene; judge appearance from the sheet image against the brief.","protocolVersion":"2025-11-25","serverInfo":{"name":"texel","title":"Texel","version":"0.9.2"}}}}
{"at":"2026-11-23T06:17:48.170Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T06:17:48.170Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T06:17:48.176Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"_meta":{"ui":{"resourceUri":"ui://texel/viewer"}},"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Compile a skin spec and review it. Returns a review sheet image (front | back | right | left views + raw texture), the review (score, issues with JSON paths and fix hints, art checks, craft advice, suggested next steps) and, on request, the texture (64×64 for a player skin), a text render and a close-up of some parts. Deterministic; never modifies files.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"file":{"description":"Instead of \"spec\": a .json spec file in the workspace, e.g. \"skins/knight.json\". Saves resending the whole spec on every call; texel_patch then edits the file in place.","minLength":1,"type":"string"},"focus":{"description":"Also return a close-up of these parts or groups alone (e.g. [\"head\"], [\"arms\"]) from all six sides, large, on gray: for judging a face, a hood or one garment.","items":{"type":"string"},"type":"array"},"include":{"default":["sheet"],"description":"Extra outputs. \"sheet\" is the review image; \"ascii\" adds a text render for models without vision.","items":{"enum":["sheet","texture","ascii"],"type":"string"},"type":"array"},"spec":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1"}},"type":"object"},"name":"texel_render","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"art":{"additionalProperties":false,"properties":{"advice":{"description":"Classic pixel-art mistakes found in the texture, with the faces where they show. Advisory: never changes a score.","items":{"additionalProperties":false,"properties":{"code":{"enum":["pillow-shading","unshifted-shadows","confetti-noise","edge-mismatch"],"type":"string"},"edges":{"items":{"additionalProperties":false,"properties":{"faces":{"items":false,"maxItems":2,"minItems":2,"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array"},"part":{"type":"string"},"rows":{"items":{"type":"number"},"type":"array"}},"required":["part","faces","rows"],"type":"object"},"type":"array"},"faces":{"items":{"additionalProperties":false,"properties":{"face":{"type":"string"},"part":{"type":"string"}},"required":["part","face"],"type":"object"},"type":"array"},"hint":{"type":"string"},"message":{"type":"string"}},"required":["code","faces","message","hint"],"type":"object"},"type":"array"},"checks":{"items":{"additionalProperties":false,"properties":{"hint":{"type":"string"},"id":{"type":"string"},"note":{"type":"string"},"rubric":{"type":"string"},"score":{"type":"number"}},"required":["id","rubric","score","note","hint"],"type":"object"},"type":"array"},"score":{"description":"0–100 from the art checks: face, silhouette, shading, texture, back, depth, colors.","type":"number"}},"required":["score","checks","advice"],"type":"object"},"issues":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"hint":{"type":"string"},"level":{"enum":["error","warning","info"],"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"required":["level","code","path","message"],"type":"object"},"type":"array"},"layout":{"description":"Texture layout: player, zombie, humanoid (armor), skeleton, item…","type":"string"},"model":{"enum":["classic","slim"],"type":"string"},"name":{"type":"string"},"next":{"items":{"type":"string"},"type":"array"},"ok":{"type":"boolean"},"score":{"type":"number"},"size":{"description":"Texture size in pixels: [width, height].","items":false,"maxItems":2,"minItems":2,"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array"},"stats":{"additionalProperties":false,"properties":{"baseCoverage":{"type":"number"},"colorsUsed":{"type":"number"},"disabledLayers":{"type":"number"},"distinctFrames":{"type":"number"},"emissivePixels":{"type":"number"},"frames":{"type":"number"},"layers":{"type":"number"},"overlayPixels":{"type":"number"},"paletteSize":{"type":"number"},"seams":{"additionalProperties":{"additionalProperties":false,"properties":{"horizontal":{"type":"number"},"vertical":{"type":"number"}},"required":["horizontal","vertical"],"type":"object"},"description":"Tiling layouts: how much each edge breaks where copies meet (1 = seamless, over 2.5 shows).","propertyNames":{"type":"string"},"type":"object"}},"required":["layers","disabledLayers","colorsUsed","baseCoverage","overlayPixels","paletteSize"],"type":"object"}},"required":["ok","name","model","layout","size","score","art","issues","stats","next"],"type":"object"},"title":"Render skin"},{"_meta":{"ui":{"resourceUri":"ui://texel/viewer"}},"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Apply a patch to a spec (update, replace, add or remove layers by id; change palette, legend or meta) and render the result like texel_render. Layers without an id first get \"<op>-<index>\" and keep it, so the next patch can use the same ids. Entries that cannot apply are skipped and reported. With \"spec\", returns the patched spec, the review and the sheet. With \"file\", writes the patched spec back to that file and returns only the review and the sheet.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"file":{"description":"Instead of \"spec\": a .json spec file in the workspace, e.g. \"skins/knight.json\". Saves resending the whole spec on every call; texel_patch then edits the file in place.","minLength":1,"type":"string"},"include":{"default":["sheet"],"description":"Extra outputs. \"sheet\" is the review image; \"ascii\" adds a text render for models without vision.","items":{"enum":["sheet","texture","ascii"],"type":"string"},"type":"array"},"patch":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A patch ({ patch: [{ do: \"update\", id, set }, …] }) as a JSON object or JSON text. Format: texel://docs/spec, section \"Patches\"."},"spec":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1"}},"required":["patch"],"type":"object"},"name":"texel_patch","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"applied":{"type":"number"},"art":{"additionalProperties":false,"properties":{"advice":{"description":"Classic pixel-art mistakes found in the texture, with the faces where they show. Advisory: never changes a score.","items":{"additionalProperties":false,"properties":{"code":{"enum":["pillow-shading","unshifted-shadows","confetti-noise","edge-mismatch"],"type":"string"},"edges":{"items":{"additionalProperties":false,"properties":{"faces":{"items":false,"maxItems":2,"minItems":2,"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array"},"part":{"type":"string"},"rows":{"items":{"type":"number"},"type":"array"}},"required":["part","faces","rows"],"type":"object"},"type":"array"},"faces":{"items":{"additionalProperties":false,"properties":{"face":{"type":"string"},"part":{"type":"string"}},"required":["part","face"],"type":"object"},"type":"array"},"hint":{"type":"string"},"message":{"type":"string"}},"required":["code","faces","message","hint"],"type":"object"},"type":"array"},"checks":{"items":{"additionalProperties":false,"properties":{"hint":{"type":"string"},"id":{"type":"string"},"note":{"type":"string"},"rubric":{"type":"string"},"score":{"type":"number"}},"required":["id","rubric","score","note","hint"],"type":"object"},"type":"array"},"score":{"description":"0–100 from the art checks: face, silhouette, shading, texture, back, depth, colors.","type":"number"}},"required":["score","checks","advice"],"type":"object"},"file":{"type":"string"},"issues":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"hint":{"type":"string"},"level":{"enum":["error","warning","info"],"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"required":["level","code","path","message"],"type":"object"},"type":"array"},"layout":{"description":"Texture layout: player, zombie, humanoid (armor), skeleton, item…","type":"string"},"model":{"enum":["classic","slim"],"type":"string"},"name":{"type":"string"},"next":{"items":{"type":"string"},"type":"array"},"ok":{"type":"boolean"},"score":{"type":"number"},"size":{"description":"Texture size in pixels: [width, height].","items":false,"maxItems":2,"minItems":2,"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array"},"skipped":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"hint":{"type":"string"},"level":{"enum":["error","warning","info"],"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"required":["level","code","path","message"],"type":"object"},"type":"array"},"spec":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"stats":{"additionalProperties":false,"properties":{"baseCoverage":{"type":"number"},"colorsUsed":{"type":"number"},"disabledLayers":{"type":"number"},"distinctFrames":{"type":"number"},"emissivePixels":{"type":"number"},"frames":{"type":"number"},"layers":{"type":"number"},"overlayPixels":{"type":"number"},"paletteSize":{"type":"number"},"seams":{"additionalProperties":{"additionalProperties":false,"properties":{"horizontal":{"type":"number"},"vertical":{"type":"number"}},"required":["horizontal","vertical"],"type":"object"},"description":"Tiling layouts: how much each edge breaks where copies meet (1 = seamless, over 2.5 shows).","propertyNames":{"type":"string"},"type":"object"}},"required":["layers","disabledLayers","colorsUsed","baseCoverage","overlayPixels","paletteSize"],"type":"object"}},"required":["ok","name","model","layout","size","score","art","issues","stats","next","applied","skipped"],"type":"object"},"title":"Patch skin"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Check a spec for errors and warnings without rendering images. Cheap; use it after every edit.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"file":{"description":"Instead of \"spec\": a .json spec file in the workspace, e.g. \"skins/knight.json\". Saves resending the whole spec on every call; texel_patch then edits the file in place.","minLength":1,"type":"string"},"spec":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1"}},"type":"object"},"name":"texel_validate","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"issues":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"hint":{"type":"string"},"level":{"enum":["error","warning","info"],"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"required":["level","code","path","message"],"type":"object"},"type":"array"},"ok":{"type":"boolean"},"score":{"type":"number"}},"required":["ok","score","issues"],"type":"object"},"title":"Validate skin spec"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Compile a spec and write <path>.png (the texture), <path>.skin.json (the source) and optionally <path>.sheet.png into the workspace (/opt/server). Also writes every other file the texture is in game: a block's <path>_top.png / _side.png…, an animation's strip with <path>.png.mcmeta, a particle's <path>_0.png…, the glowing pixels as <path>_eyes.png. Refuses specs with errors.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"path":{"description":"Output path without extension, relative to the workspace, e.g. \"skins/frost-mage\".","minLength":1,"type":"string"},"sheet":{"default":false,"description":"Also write the review sheet.","type":"boolean"},"spec":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1"}},"required":["spec","path"],"type":"object"},"name":"texel_save","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"files":{"items":{"type":"string"},"type":"array"},"score":{"type":"number"}},"required":["files","score"],"type":"object"},"title":"Save skin"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Start (or reuse) a live session and return a studio URL for the user. While it runs, every texel_render result appears in their open browser tab immediately, so they can watch the skin evolve and give feedback mid-way. Call it before the first render and share the URL with the user.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"open":{"default":false,"description":"Also open the URL in the default browser of the machine running this server.","type":"boolean"},"port":{"description":"Preferred local port (default 4747; the next free one is used if busy).","maximum":65535,"minimum":1024,"type":"integer"}},"type":"object"},"name":"texel_live","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"port":{"type":"number"},"studioUrl":{"type":"string"},"url":{"type":"string"},"viewers":{"type":"number"}},"required":["url","studioUrl","port","viewers"],"type":"object"},"title":"Start live preview"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Store the spec on https://www.texel.dev.br and return a short link (https://www.texel.dev.br/s/<id>) that opens the exact skin in the studio. Falls back to a long self-contained link when offline.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"spec":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1"}},"required":["spec"],"type":"object"},"name":"texel_share","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"short":{"type":"boolean"},"url":{"type":"string"}},"required":["url","short"],"type":"object"},"title":"Share skin"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Load the spec behind a Texel share link (https://www.texel.dev.br/s/<id>, a bare id, or a long studio link with #z= / #spec=) so you can keep developing an existing skin. Returns the spec JSON.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"link":{"description":"A share link or short id.","minLength":1,"type":"string"}},"required":["link"],"type":"object"},"name":"texel_pull","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"spec":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}},"required":["spec"],"type":"object"},"title":"Load skin from link"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Expand a family (base spec + variants and/or a matrix of axes) and review every member. Returns a lineup image (front and back of each member, in order) and a per-member score table.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"family":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A skin family ({ kind: \"family\", base, variants?, matrix? }) as a JSON object or JSON text. Format: texel://docs/families"}},"required":["family"],"type":"object"},"name":"texel_render_family","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"issues":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"hint":{"type":"string"},"level":{"enum":["error","warning","info"],"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"required":["level","code","path","message"],"type":"object"},"type":"array"},"members":{"items":{"additionalProperties":false,"properties":{"id":{"type":"string"},"issues":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"ok":{"type":"boolean"},"score":{"type":"number"}},"required":["id","name","score","ok","issues"],"type":"object"},"type":"array"},"name":{"type":"string"},"ok":{"type":"boolean"}},"required":["ok","name","members","issues"],"type":"object"},"title":"Render skin family"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Expand a family and write <directory>/<member-id>.png and .skin.json for every member, plus <directory>/lineup.png, into the workspace (/opt/server). Refuses families with errors.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"directory":{"description":"Output directory relative to the workspace, e.g. \"skins/guild\".","minLength":1,"type":"string"},"family":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A skin family ({ kind: \"family\", base, variants?, matrix? }) as a JSON object or JSON text. Format: texel://docs/families"}},"required":["family","directory"],"type":"object"},"name":"texel_save_family","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"files":{"items":{"type":"string"},"type":"array"},"members":{"type":"number"}},"required":["files","members"],"type":"object"},"title":"Save skin family"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Convert an existing PNG in the workspace into an editable spec, one layer per painted face, palette keys c01…cNN. A player skin (64×64 or legacy 64×32) by default; pass layout for a mob, armor, cape, item or block texture. With pixelize, any picture becomes a texture of the layout's size first (concept art or a render on a white background → a 16×16 item; an HD 128×128 skin → 64×64): background removed, colors reduced, specks cleaned. Rename palette keys to material names before editing.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"colors":{"description":"With pixelize: colors to keep (default 16; 0 keeps every averaged color).","maximum":64,"minimum":0,"type":"integer"},"layout":{"description":"Texture layout of the PNG, e.g. \"zombie\", \"humanoid\" (armor), \"item\". Default: player skin.","type":"string"},"outline":{"description":"With pixelize: a 1-pixel outline around the shape, \"#rrggbb\" or \"auto\" (items).","type":"string"},"path":{"description":"Path to a .png file, relative to the workspace.","minLength":1,"type":"string"},"pixelize":{"default":false,"description":"Scale and clean a picture of any size into the layout's texture size first.","type":"boolean"},"size":{"description":"With pixelize: the texture size for resizable layouts (gui, painting, HD items), e.g. [32, 32].","items":false,"maxItems":2,"minItems":2,"prefixItems":[{"maximum":512,"minimum":1,"type":"integer"},{"maximum":512,"minimum":1,"type":"integer"}],"type":"array"}},"required":["path"],"type":"object"},"name":"texel_import_png","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"layout":{"type":"string"},"lossy":{"type":"boolean"},"model":{"enum":["classic","slim"],"type":"string"},"spec":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}},"required":["spec","lossy","model","layout"],"type":"object"},"title":"Import skin PNG"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Read a reference PNG in the workspace (concept art, a photo of a figure, another skin) and return its main colors, most common first, each with a role (shadow, midtone, highlight, neutral, accent), as a ready spec \"palette\" and \"legend\". Use it to match a reference instead of guessing hex values; derive the other tones with \"~\" steps.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"colors":{"default":12,"description":"How many colors to keep.","maximum":32,"minimum":2,"type":"integer"},"path":{"description":"Path to a .png file, relative to the workspace.","minLength":1,"type":"string"}},"required":["path"],"type":"object"},"name":"texel_palette","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"entries":{"items":{"additionalProperties":false,"properties":{"char":{"type":["string","null"]},"color":{"type":"string"},"key":{"type":"string"},"perceptualLightness":{"type":"number"},"role":{"enum":["shadow","midtone","highlight","neutral","accent"],"type":"string"},"share":{"type":"number"}},"required":["key","char","color","share","perceptualLightness","role"],"type":"object"},"type":"array"},"legend":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"},"palette":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["entries","palette","legend"],"type":"object"},"title":"Palette from a reference image"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Build a Minecraft resource pack from spec files, family files and folders of them in the workspace (/opt/server): every texture at its \"asset\" path (or its layout's default: vanilla paths for mobs, item/<name> for items…), with .png.mcmeta, _eyes files, particle definitions, pack.mcmeta for the Minecraft version, and with models: true also the models, block states and item definitions items and blocks need. Writes a .zip or a folder, then checks the result like texel_check_pack.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"description":{"type":"string"},"files":{"description":"Spec files, family files or folders of .json specs, relative to the workspace.","items":{"minLength":1,"type":"string"},"minItems":1,"type":"array"},"mcVersion":{"description":"Minecraft Java version, e.g. \"1.21.4\". Default: the latest Texel knows.","type":"string"},"models":{"default":false,"description":"Also write models, block states and item definitions for item, block and plant textures (new items and blocks need them; replaced vanilla textures don't).","type":"boolean"},"namespace":{"description":"Namespace for textures whose \"asset\" has none. Default \"minecraft\" (replaces vanilla textures); a mod uses its id.","type":"string"},"out":{"default":"texel-pack.zip","description":"Output .zip, or a folder, relative to the workspace.","minLength":1,"type":"string"}},"required":["files"],"type":"object"},"name":"texel_pack","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"files":{"type":"number"},"format":{"type":"number"},"issues":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"hint":{"type":"string"},"level":{"enum":["error","warning","info"],"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"required":["level","code","path","message"],"type":"object"},"type":"array"},"ok":{"type":"boolean"},"out":{"type":"string"},"placed":{"items":{"additionalProperties":false,"properties":{"files":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"}},"required":["name","files"],"type":"object"},"type":"array"},"version":{"type":"string"}},"required":["ok","out","format","version","files","placed","issues"],"type":"object"},"title":"Build resource pack"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Check a resource pack (a folder or a .zip in the workspace, /opt/server), not only ones Texel made: pack.mcmeta and the versions its format covers, file and namespace names, PNGs, .mcmeta animations and GUI scaling, entity texture sizes against Texel's layouts, models, block states, item definitions and particles that point at missing files, and unused textures. Each issue has the file, a JSON path and a fix hint.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"mcVersion":{"description":"Minecraft Java version the pack must work on, e.g. \"1.21.4\".","type":"string"},"path":{"description":"The pack folder or .zip, relative to the workspace.","minLength":1,"type":"string"}},"required":["path"],"type":"object"},"name":"texel_check_pack","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"issues":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"hint":{"type":"string"},"level":{"enum":["error","warning","info"],"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"required":["level","code","path","message"],"type":"object"},"type":"array"},"ok":{"type":"boolean"},"stats":{"additionalProperties":{"type":"number"},"propertyNames":{"type":"string"},"type":"object"},"versions":{"items":{"type":"string"},"type":"array"}},"required":["ok","versions","issues","stats"],"type":"object"},"title":"Check resource pack"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Compare two specs pixel by pixel and report which faces changed. Use it to confirm a patch touched only what you intended. Returns the changed-pixel mask over the texture map (magenta = changed).","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"after":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1"},"before":{"anyOf":[{"type":"string"},{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"}],"description":"A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1"}},"required":["before","after"],"type":"object"},"name":"texel_diff","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"changedPixels":{"type":"number"},"faces":{"items":{"additionalProperties":false,"properties":{"changed":{"type":"number"},"face":{"type":"string"},"total":{"type":"number"}},"required":["face","changed","total"],"type":"object"},"type":"array"}},"required":["changedPixels","faces"],"type":"object"},"title":"Diff two skins"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Return a complete, working example spec to learn from or fork. Skins: explorer, knight, robot, astronaut, wizard, cozy, winged-pig, miner-zombie, creeper, mud-pig, bronze-armor, banner-cape, ember-blade, zebra, sky-evoker, ash-log, magma-pulse, stone-button, spark. Family: guild.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"enum":["explorer","knight","robot","astronaut","wizard","cozy","winged-pig","miner-zombie","creeper","mud-pig","bronze-armor","banner-cape","ember-blade","zebra","sky-evoker","ash-log","magma-pulse","stone-button","spark","guild"],"type":"string"}},"required":["id"],"type":"object"},"name":"texel_get_example","title":"Get example spec"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Read a documentation page as markdown. Pages: protocol (Skin Agent Protocol), spec (Skin spec reference), art-guide (Skin art guide), families (Skin families), api (Agent interfaces), install (Install as a tool). Read \"spec\" before writing your first spec.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"page":{"enum":["protocol","spec","art-guide","families","api","install"],"type":"string"}},"required":["page"],"type":"object"},"name":"texel_read_docs","title":"Read Texel docs"}]}}}
