Save skin
texel_saveCompile a skin spec to generate PNG and JSON files in the workspace; rejects specs with errors.
Instructions
Compile a spec and write .png (the skin), .skin.json (the source) and optionally .sheet.png into the workspace (/app). Refuses specs with errors.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spec": "<spec>",
"path": "<path>"
},
"name": "texel_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Output path without extension, relative to the workspace, e.g. "skins/frost-mage". | |
| spec | Yes | A Texel skin spec (version 1) as a JSON object or JSON text. Format: texel://docs/spec, schema: texel://schema/skinspec.v1 | |
| sheet | No | Also write the review sheet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| score | Yes |