[{"name":"ed_get_context","title":"get context","description":"Read the admitted Designer/Customizer context and current editor revision. No credentials or raw stores.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.context"}},{"name":"ed_get_capabilities","title":"get capabilities","description":"Read permitted tools and reasons unavailable for the current role, mode, order stage and targets.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.capabilities"}},{"name":"ed_get_layers","title":"get layers","description":"Read paginated local layer summaries in an admitted active print area.","inputSchema":{"type":"object","properties":{"areaId":{"type":"string","minLength":1,"maxLength":160},"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.layers"}},{"name":"ed_get_layer","title":"get layer","description":"Read editable properties of a local layer without source URLs, pixels or files. Transforms are absolute native workspace-canvas units; origin, actual center and rendered bounds are reported explicitly. left/top are the origin position, not necessarily a bounding-box corner.","inputSchema":{"type":"object","properties":{"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160}},"required":["areaId","layerId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.layer"}},{"name":"ed_get_fonts","title":"get fonts","description":"List already loaded font catalog entries and whether the native parsed default font is available locally. No font URLs or network requests. Load an unavailable font through the existing UI before creating vector text.","inputSchema":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.fonts"}},{"name":"ed_get_available_options","title":"get available options","description":"Read existing offered sizes/materials/print methods/colors and compatible variants.","inputSchema":{"type":"object","properties":{"modelId":{"type":"string","minLength":1,"maxLength":160},"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":["modelId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.options"}},{"name":"ed_get_print_areas","title":"get print areas","description":"Read unique effective print areas with live workspace-canvas geometry from loaded native canvases. Use canvasGeometry for artwork coordinates, never serialized definition geometry or millimetres. Definitions for all size collections are optional. Use ed_layout_artwork to center/fit an image and separate caption natively.","inputSchema":{"type":"object","properties":{"modelId":{"type":"string","minLength":1,"maxLength":160},"includeDefinitions":{"type":"boolean","description":"Include serialized print-area definitions for every size collection. Default false: bounded unique effective areas and live canvas geometry only."}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.printAreas"}},{"name":"ed_get_print_policy","title":"get print policy","description":"Read the effective native print-method policy and client limits.","inputSchema":{"type":"object","properties":{"modelId":{"type":"string","minLength":1,"maxLength":160}},"required":["modelId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.printPolicy"}},{"name":"ed_get_history","title":"get history","description":"Read scoped undo/redo availability for this admitted editing session.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.history"}},{"name":"ed_get_assets","title":"get assets","description":"List local imported asset metadata. Never returns bytes or source URLs.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.assets"}},{"name":"ed_get_job","title":"get job","description":"Read local asynchronous processing status.","inputSchema":{"type":"object","properties":{"jobId":{"type":"string","minLength":1,"maxLength":160}},"required":["jobId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.job"}},{"name":"ed_set_view","title":"set view","description":"Set local workspace presentation without changing project definitions.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"viewMode":{"type":"string","enum":["THREE","FABRIC","THREE_AND_FABRIC"]},"measurementUnit":{"type":"string","enum":["mm","cm","in"]},"showMeasurements":{"type":"boolean"},"qualityId":{"type":"integer","minimum":0,"maximum":2},"resetCamera":{"type":"boolean"},"zoom":{"type":"number","minimum":0.05,"maximum":100}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"view"}},{"name":"ed_open_panel","title":"open panel","description":"Open a permitted native editor panel; opening a panel grants no extra rights.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"panel":{"type":"string","enum":["PRODUCT","PRODUCT_CONFIGURATION","LAYERS","PRINT_AREAS","SETTINGS","GRAPHICS_LIBRARY","ICON_LIBRARY","PROJECT_LIBRARY","MOCKUPS"]},"areaId":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision","panel"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"view.panel"}},{"name":"ed_select_targets","title":"select targets","description":"Select admitted layers in an active print area.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":64,"uniqueItems":true}},"required":["projectId","expectedRevision","areaId","layerIds"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"select"}},{"name":"ed_set_canvas_tool","title":"set canvas tool","description":"Choose the normal selection/pan or a permitted insertion tool.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"tool":{"type":"string","enum":["select","pan","text","image","rect","ellipse","circle","line","triangle","polygon","path","qr","hexagon","octagon","star"]}},"required":["projectId","expectedRevision","tool"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"view.tool"}},{"name":"ed_select_variant","title":"select variant","description":"Select an existing compatible variant, respecting host availability. Does not author variants.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"modelId":{"type":"string","minLength":1,"maxLength":160},"variantId":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision","modelId","variantId"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"variant.select"}},{"name":"ed_set_custom_color","title":"set custom color","description":"Choose a custom color only in an existing group with allowCustomColors.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"modelId":{"type":"string","minLength":1,"maxLength":160},"partId":{"type":"string","minLength":1,"maxLength":160},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","minLength":7,"maxLength":9}},"required":["projectId","expectedRevision","modelId","partId","color"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"color.custom"}},{"name":"ed_set_print_preview","title":"set print preview","description":"Set client print preview values within effective variant/host constraints.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"modelId":{"type":"string","minLength":1,"maxLength":160},"settings":{"type":"object","properties":{"colorCount":{"type":"integer","minimum":1,"maximum":16},"palette":{"type":"array","items":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"minItems":1,"maxItems":16},"alphaMode":{"type":"string","enum":["halftone","opaque"]},"cellSizePx":{"type":"integer","minimum":1,"maximum":64},"minCoverage":{"type":"number","minimum":0,"maximum":1},"processTogether":{"type":"boolean"},"halftone":{"type":"object","properties":{"shape":{"type":"string","enum":["round","square","diamond","ellipse","cross","line"]},"dotScale":{"type":"number","minimum":0.1,"maximum":4},"angleDegrees":{"type":"number","minimum":-180,"maximum":180},"gamma":{"type":"number","minimum":0.1,"maximum":8},"softEdgePx":{"type":"number","minimum":0,"maximum":16},"invert":{"type":"boolean"},"invertAmount":{"type":"number","minimum":0,"maximum":1},"dotOrientation":{"type":"string","enum":["grid","source"]},"source":{"type":"string","const":"luminance"}},"required":[],"additionalProperties":false},"opaque":{"type":"object","properties":{"alphaThreshold":{"type":"integer","minimum":1,"maximum":255},"alphaFeather":{"type":"number","const":0}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"coverageChoice":{"type":"string","enum":["opaque","halftone","halftoneFull","none"]},"resetHalftone":{"type":"boolean"},"resetOpaque":{"type":"boolean"},"paletteAction":{"type":"string","enum":["add","remove"]},"paletteIndex":{"type":"integer","minimum":0,"maximum":15},"paletteColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["projectId","expectedRevision","modelId"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"print.preview"}},{"name":"ed_create_layer","title":"create layer","description":"Create local artwork in an admitted print area using cached fonts/assets and native constructors.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"type":{"type":"string","enum":["text","image","rect","ellipse","circle","line","triangle","polygon","path","qr","hexagon","octagon","star","polyline"]},"text":{"type":"string","minLength":0,"maxLength":10000},"assetId":{"type":"string","minLength":1,"maxLength":160},"fontId":{"type":"string","minLength":1,"maxLength":160},"points":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"minItems":2,"maxItems":1024},"qr":{"type":"object","properties":{"data":{"type":"string","minLength":1,"maxLength":4096},"dotsType":{"type":"string","enum":["square","dots","rounded","classy","classy-rounded","extra-rounded"]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","minLength":7,"maxLength":9},"backgroundColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","minLength":7,"maxLength":9}},"required":["data"],"additionalProperties":false},"patch":{"type":"object","properties":{"title":{"type":"string","minLength":0,"maxLength":256},"visible":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"text":{"type":"string","minLength":0,"maxLength":10000},"fontId":{"type":"string","minLength":1,"maxLength":160},"fontSize":{"type":"number","minimum":0.1,"maximum":4096},"fontFamily":{"type":"string","minLength":1,"maxLength":256},"fontWeight":{"type":"string","enum":["normal","bold","100","200","300","400","500","600","700","800","900"]},"fontStyle":{"type":"string","enum":["normal","italic"]},"underline":{"type":"boolean"},"linethrough":{"type":"boolean"},"charSpacing":{"type":"number","minimum":-1000,"maximum":10000},"lineHeight":{"type":"number","minimum":0.1,"maximum":20},"textAlign":{"type":"string","enum":["left","center","right","justify"]},"fill":{"anyOf":[{"type":"null"},{"type":"string","pattern":"^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"}]},"gradient":{"type":["object","null"],"properties":{"type":{"type":"string","enum":["linear","radial"]},"units":{"type":"string","enum":["percentage","object"],"description":"Percentage coordinates use -2..2; object coordinates use the native object-local geometry, up to 100000."},"angle":{"type":"number","minimum":0,"maximum":360},"coords":{"type":"object","properties":{"x1":{"type":"number","minimum":-100000,"maximum":100000},"y1":{"type":"number","minimum":-100000,"maximum":100000},"x2":{"type":"number","minimum":-100000,"maximum":100000},"y2":{"type":"number","minimum":-100000,"maximum":100000},"r1":{"type":"number","minimum":0,"maximum":100000},"r2":{"type":"number","minimum":0,"maximum":100000}},"additionalProperties":false},"colorStops":{"type":"array","minItems":2,"maxItems":32,"items":{"type":"object","properties":{"offset":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","maxLength":9},"opacity":{"type":"number","minimum":0,"maximum":1}},"required":["offset","color"],"additionalProperties":false}}},"required":["type","colorStops"],"additionalProperties":false},"stroke":{"anyOf":[{"type":"null"},{"type":"string","pattern":"^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"}]},"strokeWidth":{"type":"number","minimum":0,"maximum":1000},"shadow":{"anyOf":[{"type":"null"},{"type":"object","properties":{"enabled":{"type":"boolean"},"nonScaling":{"type":"boolean"},"affectStroke":{"type":"boolean"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"},"opacity":{"type":"number","minimum":0,"maximum":1},"blur":{"type":"number","minimum":0,"maximum":10000},"offsetX":{"type":"number","minimum":-10000,"maximum":10000},"offsetY":{"type":"number","minimum":-10000,"maximum":10000}},"required":[],"additionalProperties":false,"minProperties":1}]},"strokeEnabled":{"type":"boolean"},"strokeUniform":{"type":"boolean"},"strokeDashArray":{"anyOf":[{"type":"null"},{"type":"array","items":{"type":"number","minimum":0,"maximum":1000},"minItems":1,"maxItems":16}]},"strokeLineJoin":{"enum":["miter","bevel","round"]},"strokeLineCap":{"enum":["butt","round","square"]},"paintFirst":{"enum":["stroke","fill"]},"strokeGradient":{"type":["object","null"],"properties":{"type":{"type":"string","enum":["linear","radial"]},"units":{"type":"string","enum":["percentage","object"],"description":"Percentage coordinates use -2..2; object coordinates use the native object-local geometry, up to 100000."},"angle":{"type":"number","minimum":0,"maximum":360},"coords":{"type":"object","properties":{"x1":{"type":"number","minimum":-100000,"maximum":100000},"y1":{"type":"number","minimum":-100000,"maximum":100000},"x2":{"type":"number","minimum":-100000,"maximum":100000},"y2":{"type":"number","minimum":-100000,"maximum":100000},"r1":{"type":"number","minimum":0,"maximum":100000},"r2":{"type":"number","minimum":0,"maximum":100000}},"additionalProperties":false},"colorStops":{"type":"array","minItems":2,"maxItems":32,"items":{"type":"object","properties":{"offset":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","maxLength":9},"opacity":{"type":"number","minimum":0,"maximum":1}},"required":["offset","color"],"additionalProperties":false}}},"required":["type","colorStops"],"additionalProperties":false}},"required":[],"additionalProperties":false},"transform":{"type":"object","properties":{"left":{"type":"number","minimum":-100000,"maximum":100000},"top":{"type":"number","minimum":-100000,"maximum":100000},"width":{"type":"number","minimum":0.01,"maximum":100000},"height":{"type":"number","minimum":0.01,"maximum":100000},"scaleX":{"type":"number","minimum":0.0001,"maximum":1000},"scaleY":{"type":"number","minimum":0.0001,"maximum":1000},"angle":{"type":"number","minimum":-36000,"maximum":36000},"flipX":{"type":"boolean"},"flipY":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false,"description":"Absolute native workspace-canvas units, NOT print-area-relative or millimetres. left/top locate the object origin (new layers use center/center), not the bounding-box top-left. width/height are rendered dimensions; supplying only one preserves current axis behaviour. Read ed_get_layer for origin/center/bounds. For a centered image with separate caption use ed_layout_artwork instead of guessing coordinates."}},"required":["projectId","expectedRevision","areaId","type"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.add"}},{"name":"ed_insert_generated_image","title":"Insert generated image","description":"Automatically insert a PNG, JPEG or WebP file generated or selected in this ChatGPT conversation as a local image layer in an admitted print area. Supply the real ChatGPT file reference; no manual upload or base64 transcription. The relay verifies browser permission before downloading the bounded temporary file, then uses native local import and Undo/Redo. Text captions should be separate ed_create_layer text layers. The open project is not saved.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"file":{"type":"object","properties":{"download_url":{"type":"string","minLength":1,"maxLength":8192,"description":"The temporary download URL supplied by ChatGPT for this selected file. Never invent a URL."},"file_id":{"type":"string","minLength":1,"maxLength":160,"description":"The corresponding file ID supplied by ChatGPT."},"mime_type":{"type":"string","enum":["image/png","image/jpeg","image/webp"]},"file_name":{"type":"string","minLength":1,"maxLength":256}},"required":["download_url","file_id"],"additionalProperties":false},"patch":{"type":"object","properties":{"title":{"type":"string","minLength":0,"maxLength":256},"visible":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"shadow":{"anyOf":[{"type":"null"},{"type":"object","properties":{"enabled":{"type":"boolean"},"nonScaling":{"type":"boolean"},"affectStroke":{"type":"boolean"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"},"opacity":{"type":"number","minimum":0,"maximum":1},"blur":{"type":"number","minimum":0,"maximum":10000},"offsetX":{"type":"number","minimum":-10000,"maximum":10000},"offsetY":{"type":"number","minimum":-10000,"maximum":10000}},"required":[],"additionalProperties":false,"minProperties":1}]}},"additionalProperties":false},"transform":{"type":"object","properties":{"left":{"type":"number","minimum":-100000,"maximum":100000},"top":{"type":"number","minimum":-100000,"maximum":100000},"width":{"type":"number","minimum":0.01,"maximum":100000},"height":{"type":"number","minimum":0.01,"maximum":100000},"scaleX":{"type":"number","minimum":0.0001,"maximum":1000},"scaleY":{"type":"number","minimum":0.0001,"maximum":1000},"angle":{"type":"number","minimum":-36000,"maximum":36000},"flipX":{"type":"boolean"},"flipY":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false,"description":"Absolute native workspace-canvas units, NOT print-area-relative or millimetres. left/top locate the object origin (new layers use center/center), not the bounding-box top-left. width/height are rendered dimensions; supplying only one preserves current axis behaviour. Read ed_get_layer for origin/center/bounds. For a centered image with separate caption use ed_layout_artwork instead of guessing coordinates."}},"required":["projectId","expectedRevision","areaId","file"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"alter/editorOperation":"layer.add","alter/relayOnly":true,"openai/fileParams":["file"]}},{"name":"ed_edit_layer","title":"edit layer","description":"Edit a native artwork layer with a closed property whitelist. Owner flags and print-area geometry are forbidden.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"patch":{"type":"object","properties":{"title":{"type":"string","minLength":0,"maxLength":256},"visible":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"text":{"type":"string","minLength":0,"maxLength":10000},"fontId":{"type":"string","minLength":1,"maxLength":160},"fontSize":{"type":"number","minimum":0.1,"maximum":4096},"fontFamily":{"type":"string","minLength":1,"maxLength":256},"fontWeight":{"type":"string","enum":["normal","bold","100","200","300","400","500","600","700","800","900"]},"fontStyle":{"type":"string","enum":["normal","italic"]},"underline":{"type":"boolean"},"linethrough":{"type":"boolean"},"charSpacing":{"type":"number","minimum":-1000,"maximum":10000},"lineHeight":{"type":"number","minimum":0.1,"maximum":20},"textAlign":{"type":"string","enum":["left","center","right","justify"]},"fill":{"anyOf":[{"type":"null"},{"type":"string","pattern":"^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"}]},"gradient":{"type":["object","null"],"properties":{"type":{"type":"string","enum":["linear","radial"]},"units":{"type":"string","enum":["percentage","object"],"description":"Percentage coordinates use -2..2; object coordinates use the native object-local geometry, up to 100000."},"angle":{"type":"number","minimum":0,"maximum":360},"coords":{"type":"object","properties":{"x1":{"type":"number","minimum":-100000,"maximum":100000},"y1":{"type":"number","minimum":-100000,"maximum":100000},"x2":{"type":"number","minimum":-100000,"maximum":100000},"y2":{"type":"number","minimum":-100000,"maximum":100000},"r1":{"type":"number","minimum":0,"maximum":100000},"r2":{"type":"number","minimum":0,"maximum":100000}},"additionalProperties":false},"colorStops":{"type":"array","minItems":2,"maxItems":32,"items":{"type":"object","properties":{"offset":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","maxLength":9},"opacity":{"type":"number","minimum":0,"maximum":1}},"required":["offset","color"],"additionalProperties":false}}},"required":["type","colorStops"],"additionalProperties":false},"stroke":{"anyOf":[{"type":"null"},{"type":"string","pattern":"^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"}]},"strokeWidth":{"type":"number","minimum":0,"maximum":1000},"shadow":{"anyOf":[{"type":"null"},{"type":"object","properties":{"enabled":{"type":"boolean"},"nonScaling":{"type":"boolean"},"affectStroke":{"type":"boolean"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"},"opacity":{"type":"number","minimum":0,"maximum":1},"blur":{"type":"number","minimum":0,"maximum":10000},"offsetX":{"type":"number","minimum":-10000,"maximum":10000},"offsetY":{"type":"number","minimum":-10000,"maximum":10000}},"required":[],"additionalProperties":false,"minProperties":1}]},"strokeEnabled":{"type":"boolean"},"strokeUniform":{"type":"boolean"},"strokeDashArray":{"anyOf":[{"type":"null"},{"type":"array","items":{"type":"number","minimum":0,"maximum":1000},"minItems":1,"maxItems":16}]},"strokeLineJoin":{"enum":["miter","bevel","round"]},"strokeLineCap":{"enum":["butt","round","square"]},"paintFirst":{"enum":["stroke","fill"]},"strokeGradient":{"type":["object","null"],"properties":{"type":{"type":"string","enum":["linear","radial"]},"units":{"type":"string","enum":["percentage","object"],"description":"Percentage coordinates use -2..2; object coordinates use the native object-local geometry, up to 100000."},"angle":{"type":"number","minimum":0,"maximum":360},"coords":{"type":"object","properties":{"x1":{"type":"number","minimum":-100000,"maximum":100000},"y1":{"type":"number","minimum":-100000,"maximum":100000},"x2":{"type":"number","minimum":-100000,"maximum":100000},"y2":{"type":"number","minimum":-100000,"maximum":100000},"r1":{"type":"number","minimum":0,"maximum":100000},"r2":{"type":"number","minimum":0,"maximum":100000}},"additionalProperties":false},"colorStops":{"type":"array","minItems":2,"maxItems":32,"items":{"type":"object","properties":{"offset":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","maxLength":9},"opacity":{"type":"number","minimum":0,"maximum":1}},"required":["offset","color"],"additionalProperties":false}}},"required":["type","colorStops"],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":["projectId","expectedRevision","areaId","layerId","patch"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_transform_layers","title":"transform layers","description":"Transform all specified admitted artwork layers atomically.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":64,"uniqueItems":true},"transform":{"type":"object","properties":{"left":{"type":"number","minimum":-100000,"maximum":100000},"top":{"type":"number","minimum":-100000,"maximum":100000},"width":{"type":"number","minimum":0.01,"maximum":100000},"height":{"type":"number","minimum":0.01,"maximum":100000},"scaleX":{"type":"number","minimum":0.0001,"maximum":1000},"scaleY":{"type":"number","minimum":0.0001,"maximum":1000},"angle":{"type":"number","minimum":-36000,"maximum":36000},"flipX":{"type":"boolean"},"flipY":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false,"description":"Absolute native workspace-canvas units, NOT print-area-relative or millimetres. left/top locate the object origin (new layers use center/center), not the bounding-box top-left. width/height are rendered dimensions; supplying only one preserves current axis behaviour. Read ed_get_layer for origin/center/bounds. For a centered image with separate caption use ed_layout_artwork instead of guessing coordinates."}},"required":["projectId","expectedRevision","areaId","layerIds","transform"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_delete_layers","title":"delete layers","description":"Delete admitted artwork, checking all group/mask dependencies.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":64,"uniqueItems":true}},"required":["projectId","expectedRevision","areaId","layerIds"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.delete"}},{"name":"ed_duplicate_layers","title":"duplicate layers","description":"Duplicate admitted artwork preserving protected flags and relationships.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":64,"uniqueItems":true},"offset":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false}},"required":["projectId","expectedRevision","areaId","layerIds"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.duplicate"}},{"name":"ed_reorder_layers","title":"reorder layers","description":"Reorder artwork within allowed pinned layer boundaries.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"orderedIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":64,"uniqueItems":true}},"required":["projectId","expectedRevision","areaId","orderedIds"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.reorder"}},{"name":"ed_group_layers","title":"group layers","description":"Group or ungroup admitted artwork.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":64,"uniqueItems":true},"action":{"type":"string","enum":["group","ungroup"]}},"required":["projectId","expectedRevision","areaId","layerIds","action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.group"}},{"name":"ed_set_mask","title":"set mask","description":"Create/remove native relational artwork masking after checking every target.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":64,"uniqueItems":true},"action":{"type":"string","enum":["mask","unmask"]}},"required":["projectId","expectedRevision","areaId","layerIds","action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.mask"}},{"name":"ed_transfer_layers","title":"transfer layers","description":"Move admitted artwork between two allowed existing print areas.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":64,"uniqueItems":true},"targetAreaId":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision","areaId","layerIds","targetAreaId"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.transfer"}},{"name":"ed_set_layer_lock","title":"set layer lock","description":"Set an ordinary artwork lock. Cannot remove an administrator reservation.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":64,"uniqueItems":true},"locked":{"type":"boolean"}},"required":["projectId","expectedRevision","areaId","layerIds","locked"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.lock"}},{"name":"ed_set_layer_print_settings","title":"set layer print settings","description":"Set artwork print exemption only where the owner and print policy permit.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":64,"uniqueItems":true},"skipPrintingMethod":{"type":"boolean"}},"required":["projectId","expectedRevision","areaId","layerIds","skipPrintingMethod"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.printMethod"}},{"name":"ed_set_layer_reservation","title":"set layer reservation","description":"Owner-only artwork reservation/pinning in Designer.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":64,"uniqueItems":true},"adminLocked":{"type":"boolean"},"zPin":{"oneOf":[{"type":"string","enum":["TOP","BOTTOM"]},{"type":"null"}]},"printMethodLocked":{"type":"boolean"}},"required":["projectId","expectedRevision","areaId","layerIds"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.reservation"}},{"name":"ed_replace_image","title":"replace image","description":"Replace an editable raster layer with an imported local asset. Preserve its displayed bounds, transform and layer relations; reset crop for the new pixels. No upload or remote URL. An SVG asset becomes native vector artwork.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"assetId":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision","areaId","layerId","assetId"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_crop_image","title":"crop image","description":"Crop an admitted local raster through the native crop pipeline.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"crop":{"type":"object","properties":{"x":{"type":"number","minimum":0,"maximum":100000},"y":{"type":"number","minimum":0,"maximum":100000},"width":{"type":"number","minimum":1,"maximum":100000},"height":{"type":"number","minimum":1,"maximum":100000}},"required":["x","y","width","height"],"additionalProperties":false}},"required":["projectId","expectedRevision","areaId","layerId","crop"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_set_image_filters","title":"set image filters","description":"Set native image filter parameters on an admitted raster.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"filters":{"type":"array","maxItems":16,"items":{"oneOf":[{"type":"object","properties":{"type":{"const":"brightness"},"enabled":{"type":"boolean"},"value":{"type":"number","minimum":-1,"maximum":1}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"contrast"},"enabled":{"type":"boolean"},"value":{"type":"number","minimum":-1,"maximum":1}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"saturation"},"enabled":{"type":"boolean"},"value":{"type":"number","minimum":-1,"maximum":1}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"vibrance"},"enabled":{"type":"boolean"},"value":{"type":"number","minimum":-1,"maximum":1}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"hue"},"enabled":{"type":"boolean"},"value":{"type":"number","minimum":-1,"maximum":1}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"gamma"},"enabled":{"type":"boolean"},"value":{"anyOf":[{"type":"number","minimum":0,"maximum":2},{"type":"array","items":{"type":"number","minimum":0,"maximum":2},"minItems":3,"maxItems":3}]}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"blur"},"enabled":{"type":"boolean"},"value":{"type":"number","minimum":0,"maximum":1}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"noise"},"enabled":{"type":"boolean"},"value":{"type":"number","minimum":0,"maximum":100}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"pixelate"},"enabled":{"type":"boolean"},"value":{"type":"number","minimum":1,"maximum":1000}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"grayscale"},"enabled":{"type":"boolean"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"invert"},"enabled":{"type":"boolean"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"sharpen"},"enabled":{"type":"boolean"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"backgroundCleanupDTF"},"enabled":{"type":"boolean"},"config":{"type":"object","properties":{"alphaThreshold":{"type":"number","minimum":1,"maximum":255}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"halftone"},"enabled":{"type":"boolean"},"config":{"type":"object","properties":{"cellSize":{"type":"number","minimum":1,"maximum":20},"dotScale":{"type":"number","minimum":0.1,"maximum":1},"sourceAlphaCutoff":{"type":"number","minimum":0,"maximum":255},"invert":{"type":"boolean"},"invertAmount":{"type":"number","minimum":0,"maximum":1},"forceOpaqueDots":{"type":"boolean"},"angleDegrees":{"type":"number","minimum":0,"maximum":90},"gamma":{"type":"number","minimum":0.5,"maximum":2},"softEdgePx":{"type":"number","minimum":0.1,"maximum":3},"dotShape":{"enum":["round","square","diamond","ellipse","cross","line"]},"dotOrientation":{"enum":["grid","source"]}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"embroidery"},"enabled":{"type":"boolean"},"config":{"type":"object","properties":{"threadSpacing":{"type":"number","minimum":2,"maximum":24},"relief":{"type":"number","minimum":0,"maximum":1},"angleDegrees":{"type":"number","minimum":0,"maximum":180},"stitchLength":{"type":"number","minimum":4,"maximum":80},"lightAngleDegrees":{"type":"number","minimum":0,"maximum":360},"autoDirection":{"type":"boolean"},"edgeStrength":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"paletteQuantize"},"enabled":{"type":"boolean"},"config":{"type":"object","properties":{"colorCount":{"type":"integer","minimum":1,"maximum":16},"palette":{"type":"array","items":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"minItems":1,"maxItems":16}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false}]}},"activeFilters":{"type":"boolean"}},"required":["projectId","expectedRevision","areaId","layerId"],"additionalProperties":false,"anyOf":[{"required":["filters"]},{"required":["activeFilters"]}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_edit_vector_artwork","title":"edit vector artwork","description":"Edit typed artwork points without access to print-area geometry.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"points":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"minItems":2,"maxItems":1024},"closed":{"type":"boolean"}},"required":["projectId","expectedRevision","areaId","layerId","points"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_set_pattern","title":"set pattern","description":"Set local native artwork repeat settings.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"settings":{"type":"object","properties":{"enabled":{"type":"boolean"},"repeatMode":{"type":"string","enum":["GRID","BRICK","HALF_DROP","SCATTER","ROUND"]},"columns":{"type":"integer","minimum":1,"maximum":100},"rows":{"type":"integer","minimum":1,"maximum":100},"spacingX":{"type":"number","minimum":-10000,"maximum":10000},"spacingY":{"type":"number","minimum":-10000,"maximum":10000},"offsetX":{"type":"number","minimum":-100000,"maximum":100000},"offsetY":{"type":"number","minimum":-100000,"maximum":100000},"seed":{"type":"integer","minimum":0,"maximum":2147483647},"alternateBy":{"type":"string","enum":["NONE","ITEM","ROW","COLUMN","CHECKERBOARD","SEED"]},"variantA":{"type":"object","properties":{"rotation":{"type":"number","minimum":0,"maximum":360},"scale":{"type":"number","minimum":0.1,"maximum":2},"flipX":{"type":"boolean"},"flipY":{"type":"boolean"}},"required":[],"additionalProperties":false},"variantB":{"type":"object","properties":{"rotation":{"type":"number","minimum":0,"maximum":360},"scale":{"type":"number","minimum":0.1,"maximum":2},"flipX":{"type":"boolean"},"flipY":{"type":"boolean"}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":["projectId","expectedRevision","areaId","layerId","settings"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_process_image","title":"process image","description":"Process a loaded local raster with the native Worker/WASM vectorizer or local ONNX background removal. Vectorize settings use the native recipe; remove-background accepts empty settings. Poll ed_get_job. No image is uploaded. Static processor assets may load as in the UI.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"action":{"type":"string","enum":["vectorize","remove-background"]},"settings":{"type":"object","properties":{"preset":{"type":"string","enum":["lineart","limited-color"]},"detail":{"anyOf":[{"type":"integer","minimum":1,"maximum":100},{"type":"string","enum":["balanced","simplified"]}]},"paletteColors":{"type":"integer","minimum":1,"maximum":32},"preserveColors":{"type":"boolean"},"halftoneMode":{"type":"string","const":"vector"}},"required":[],"additionalProperties":false}},"required":["projectId","expectedRevision","areaId","layerId","action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_cancel_job","title":"cancel job","description":"Cancel a local processing job when its native worker supports abort. Cancellation stops unfinished work and can leave partial results; inspect current job and draft state before retrying.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobId":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision","jobId"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"job.cancel"}},{"name":"ed_begin_asset_import","title":"begin asset import","description":"Stage a local bitmap upload for this admitted tab only; no application storage write.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"fileName":{"type":"string","minLength":1,"maxLength":256},"mimeType":{"type":"string","enum":["image/png","image/jpeg","image/webp","image/svg+xml"]},"byteLength":{"type":"integer","minimum":1,"maximum":10485760},"sha256":{"type":"string","pattern":"^[0-9a-fA-F]{64}$","minLength":64,"maxLength":64}},"required":["projectId","expectedRevision","fileName","mimeType","byteLength","sha256"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"asset.import"}},{"name":"ed_append_asset_chunk","title":"append asset chunk","description":"Append one canonical base64 asset chunk of at most 64 KiB decoded, at the exact next offset.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"uploadId":{"type":"string","minLength":1,"maxLength":160},"offset":{"type":"integer","minimum":0,"maximum":10485760},"dataBase64":{"type":"string","minLength":4,"maxLength":87384,"pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"}},"required":["projectId","expectedRevision","uploadId","offset","dataBase64"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"asset.import"}},{"name":"ed_finish_asset_import","title":"finish asset import","description":"Verify/decode a staged local asset and return a local assetId.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"uploadId":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision","uploadId"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"asset.import"}},{"name":"ed_discard_asset","title":"discard asset","description":"Discard a staged upload or unused imported asset. Releases the staged data or unused asset from this browser session; the staged import may need to be supplied again.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"uploadId":{"type":"string","minLength":1,"maxLength":160},"assetId":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"asset.import"}},{"name":"ed_undo","title":"undo","description":"Apply scoped undo through the native editor history.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"history.undo"}},{"name":"ed_redo","title":"redo","description":"Apply scoped redo through the native editor history.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"history.redo"}},{"name":"ed_reset_personalization","title":"reset personalization","description":"Restore only this session's permitted artwork personalization. This replaces permitted local artwork edits with the session baseline; inspect the current draft and confirm the user intends to reset it.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"history.reset"}},{"name":"ed_edit_print_area","title":"edit print area","description":"Edit an existing print-area definition using native geometry and vector tools. Owner Designer authoring, or geometry-only correction of a verified administrator order snapshot. Local native Undo/Redo; no save or backend request.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"modelId":{"type":"string","minLength":1,"maxLength":160},"collectionId":{"type":"string","minLength":1,"maxLength":160},"areaName":{"type":"string","minLength":1,"maxLength":160},"patch":{"type":"object","properties":{"enabled":{"type":"boolean"},"width":{"type":"number","minimum":0.01,"maximum":100000},"height":{"type":"number","minimum":0.01,"maximum":100000},"left":{"type":"number","minimum":-100000,"maximum":100000},"top":{"type":"number","minimum":-100000,"maximum":100000},"angle":{"type":"number","minimum":-360,"maximum":360},"shape":{"type":"string","enum":["rect","circle","ellipse","path","custom-path"]},"points":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"minItems":3,"maxItems":1024},"scaleX":{"type":"number","minimum":1e-06,"maximum":10000},"scaleY":{"type":"number","minimum":1e-06,"maximum":10000},"skewX":{"type":"number","minimum":-85,"maximum":85},"skewY":{"type":"number","minimum":-85,"maximum":85},"flipX":{"type":"boolean"},"flipY":{"type":"boolean"},"vector":{"type":"object","properties":{"ops":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"op":{"const":"move"},"indexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1023},"minItems":1,"maxItems":1024,"uniqueItems":true},"delta":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"mode":{"enum":["FREE","ALONG_PATH"]},"space":{"enum":["local","workspace"]}},"required":["op","indexes","delta"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"moveTo"},"index":{"type":"integer","minimum":0,"maximum":1023},"point":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"mode":{"enum":["FREE","ALONG_PATH"]},"space":{"enum":["local","workspace"]}},"required":["op","index","point"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"handle"},"index":{"type":"integer","minimum":0,"maximum":1023},"side":{"enum":["in","out"]},"point":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"mode":{"enum":["MIRRORED","MIRRORED_ANGLE","INDEPENDENT"]},"snap45":{"type":"boolean"},"space":{"enum":["local","workspace"]}},"required":["op","index","side","point"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"bend"},"index":{"type":"integer","minimum":0,"maximum":1023},"point":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"mode":{"enum":["MIRRORED","MIRRORED_ANGLE","INDEPENDENT"]},"snap45":{"type":"boolean"},"space":{"enum":["local","workspace"]}},"required":["op","index","point"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"handleMode"},"indexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1023},"minItems":1,"maxItems":1024,"uniqueItems":true},"mode":{"enum":["MIRRORED","MIRRORED_ANGLE","INDEPENDENT"]},"preferredSide":{"enum":["in","out"]}},"required":["op","indexes","mode"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"handleEnabled"},"indexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1023},"minItems":1,"maxItems":1024,"uniqueItems":true},"side":{"enum":["in","out"]},"enabled":{"type":"boolean"}},"required":["op","indexes","side","enabled"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"addOnPath"},"segmentIndex":{"type":"integer","minimum":0,"maximum":2047},"t":{"type":"number","minimum":1e-06,"maximum":0.999999}},"required":["op","segmentIndex","t"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"addFree"},"point":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"connectFrom":{"type":"integer","minimum":0,"maximum":1023},"space":{"enum":["local","workspace"]}},"required":["op","point"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"remove"},"indexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1023},"minItems":1,"maxItems":1024,"uniqueItems":true}},"required":["op","indexes"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"connect"},"from":{"type":"integer","minimum":0,"maximum":1023},"to":{"type":"integer","minimum":0,"maximum":1023}},"required":["op","from","to"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"merge"},"from":{"type":"integer","minimum":0,"maximum":1023},"to":{"type":"integer","minimum":0,"maximum":1023}},"required":["op","from","to"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"cut"},"cuts":{"type":"array","items":{"type":"object","properties":{"segmentIndex":{"type":"integer","minimum":0,"maximum":2047},"t":{"type":"number","minimum":1e-06,"maximum":0.999999}},"required":["segmentIndex","t"],"additionalProperties":false},"minItems":1,"maxItems":128}},"required":["op","cuts"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"cutLine"},"line":{"type":"object","properties":{"from":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"to":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false}},"required":["from","to"],"additionalProperties":false},"space":{"enum":["local","workspace"]}},"required":["op","line"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"offset"},"indexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1023},"minItems":1,"maxItems":1024,"uniqueItems":true},"distance":{"type":"number","minimum":-10000,"maximum":10000},"mode":{"enum":["ALL","HORIZONTAL","VERTICAL"]}},"required":["op","indexes","distance"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"mirror"},"indexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1023},"minItems":1,"maxItems":1024,"uniqueItems":true},"line":{"type":"object","properties":{"from":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"to":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false}},"required":["from","to"],"additionalProperties":false},"mergeDistance":{"type":"number","minimum":0,"maximum":10000},"space":{"enum":["local","workspace"]}},"required":["op","line"],"additionalProperties":false}]},"minItems":1,"maxItems":128}},"required":["ops"],"additionalProperties":false},"path":{"type":"array","items":{"oneOf":[{"type":"array","items":[{"const":"M"},{"type":"number","minimum":-100000,"maximum":100000},{"type":"number","minimum":-100000,"maximum":100000}],"minItems":3,"maxItems":3,"additionalItems":false},{"type":"array","items":[{"const":"L"},{"type":"number","minimum":-100000,"maximum":100000},{"type":"number","minimum":-100000,"maximum":100000}],"minItems":3,"maxItems":3,"additionalItems":false},{"type":"array","items":[{"const":"Q"},{"type":"number","minimum":-100000,"maximum":100000},{"type":"number","minimum":-100000,"maximum":100000},{"type":"number","minimum":-100000,"maximum":100000},{"type":"number","minimum":-100000,"maximum":100000}],"minItems":5,"maxItems":5,"additionalItems":false},{"type":"array","items":[{"const":"C"},{"type":"number","minimum":-100000,"maximum":100000},{"type":"number","minimum":-100000,"maximum":100000},{"type":"number","minimum":-100000,"maximum":100000},{"type":"number","minimum":-100000,"maximum":100000},{"type":"number","minimum":-100000,"maximum":100000},{"type":"number","minimum":-100000,"maximum":100000}],"minItems":7,"maxItems":7,"additionalItems":false},{"type":"array","items":[{"const":"Z"}],"minItems":1,"maxItems":1,"additionalItems":false}]},"minItems":1,"maxItems":4096}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","modelId","collectionId","areaName","patch"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"printArea.edit"}},{"name":"ed_edit_product_options","title":"edit product options","description":"Owner-only changes to offered options, never the underlying global product catalog.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"modelId":{"type":"string","minLength":1,"maxLength":160},"action":{"type":"string","enum":["add-size","rename-size","remove-size","offer-material","remove-material","offer-print-type","remove-print-type","add-color","edit-color","remove-color","edit-size","set-color-mode","set-color-pattern"]},"optionId":{"type":"string","minLength":1,"maxLength":160},"name":{"type":"string","minLength":1,"maxLength":160},"materialId":{"type":"string","minLength":1,"maxLength":160},"printTypeId":{"type":"string","minLength":1,"maxLength":160},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","minLength":7,"maxLength":9},"partColors":{"type":"object","additionalProperties":{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","minLength":7,"maxLength":9},"maxProperties":128,"propertyNames":{"type":"string","minLength":1,"maxLength":160}},"collectionId":{"type":"string","minLength":1,"maxLength":160},"localizedName":{"type":"object","minProperties":1,"maxProperties":40,"propertyNames":{"type":"string","minLength":1,"maxLength":24},"additionalProperties":{"type":"string","minLength":1,"maxLength":255}},"measurements":{"type":"object","minProperties":1,"maxProperties":128,"propertyNames":{"type":"string","minLength":1,"maxLength":160},"additionalProperties":{"anyOf":[{"type":"number","minimum":0,"maximum":100000},{"type":"null"},{"type":"object","properties":{"min":{"anyOf":[{"type":"number","minimum":0,"maximum":100000},{"type":"null"}]},"max":{"anyOf":[{"type":"number","minimum":0,"maximum":100000},{"type":"null"}]}},"required":[],"additionalProperties":false,"minProperties":1}]}},"proportionalFrom":{"type":"object","properties":{"measureId":{"type":"string","minLength":1,"maxLength":160},"bound":{"type":"string","enum":["min","max"]},"value":{"type":"number","minimum":0.0001,"maximum":100000}},"required":["measureId","bound","value"],"additionalProperties":false},"colorMode":{"type":"string","enum":["preset","custom"]},"colorPatternId":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision","modelId","action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"offer.edit"}},{"name":"ed_edit_variant_definition","title":"edit variant definition","description":"Owner-only local variant definition editing. No store synchronization or save.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"modelId":{"type":"string","minLength":1,"maxLength":160},"action":{"type":"string","enum":["add","update","remove","update-many"]},"variantId":{"type":"string","minLength":1,"maxLength":160},"settings":{"type":"object","properties":{"sizeId":{"type":"string","minLength":1,"maxLength":160},"materialId":{"type":"string","minLength":1,"maxLength":160},"printTypeId":{"type":"string","minLength":1,"maxLength":160},"colorId":{"oneOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"allowCustomColors":{"type":"boolean"},"minQuantity":{"anyOf":[{"type":"integer","minimum":1,"maximum":100000},{"type":"null"}]},"leadTime":{"anyOf":[{"type":"integer","minimum":0,"maximum":3650},{"type":"null"}]},"weight":{"anyOf":[{"type":"number","minimum":0,"maximum":100000},{"type":"null"}]},"volume":{"anyOf":[{"type":"number","minimum":0,"maximum":100000},{"type":"null"}]},"stock":{"anyOf":[{"type":"integer","minimum":0,"maximum":100000000},{"type":"null"}]},"metadata":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"metaId":{"type":"string","minLength":1,"maxLength":160},"key":{"type":"string","minLength":1,"maxLength":80},"value":{"type":"string","minLength":0,"maxLength":2048}},"required":["key","value"],"additionalProperties":false},"minItems":0,"maxItems":64},{"type":"null"}]}},"required":[],"additionalProperties":false},"variantIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":128,"uniqueItems":true}},"required":["projectId","expectedRevision","modelId","action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"offer.edit"}},{"name":"ed_set_owner_project_settings","title":"set owner project settings","description":"Owner-only local project title and Customizer availability. Saving remains an explicit UI operation.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":256},"hasCustomizer":{"type":"boolean"}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"structure.edit"}},{"name":"ed_set_owner_price","title":"set owner price","description":"Owner-only local price row editing with existing model/option/currency IDs.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"modelId":{"type":"string","minLength":1,"maxLength":160},"kind":{"type":"string","enum":["model","size","material","color","printType","printArea"]},"optionId":{"type":"string","minLength":1,"maxLength":160},"currencyId":{"type":"string","minLength":1,"maxLength":160},"price":{"type":"number","minimum":0,"maximum":100000000}},"required":["projectId","expectedRevision","modelId","kind","currencyId","price"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"offer.edit"}},{"name":"ed_set_text_effects","title":"set text effects","description":"Rebuild native vector text using an already parsed local font: curved, bridge, oblique and case transforms. Effect-specific parameters require their matching textEffect. One native Undo transaction.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"typography":{"type":"object","properties":{"textEffect":{"type":"string","enum":["normal","curved","bridge","oblique"]},"textTransform":{"type":"string","enum":["normal","uppercase","lowercase","capitalize"]},"curve":{"type":"integer","minimum":-360,"maximum":360},"curveDistance":{"type":"integer","minimum":-300,"maximum":300},"bridgeEdgeThickness":{"type":"integer","minimum":0,"maximum":200},"bridgeMiddleThickness":{"type":"integer","minimum":0,"maximum":200},"bridgeSmoothing":{"type":"integer","minimum":0,"maximum":200},"bridgeOffsetY":{"type":"integer","minimum":-200,"maximum":200},"obliqueStart":{"type":"integer","minimum":0,"maximum":200},"obliqueEnd":{"type":"integer","minimum":0,"maximum":200},"obliqueHeight":{"type":"integer","minimum":-200,"maximum":200}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","areaId","layerId","typography"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_edit_qr","title":"edit qr","description":"Edit native QR data, shape, built-in image hole, dots, finder corners, gradients, background and encoding. Preserves layer transform and native vector QR rendering. No arbitrary image URL.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"qr":{"type":"object","properties":{"data":{"type":"string","minLength":0,"maxLength":4096},"shapeId":{"type":"integer","minimum":1,"maximum":2},"imageId":{"type":"integer","minimum":1,"maximum":4},"dataEncoding":{"type":"string","const":"utf8"},"errorCorrectionLevel":{"type":"string","enum":["L","M","Q","H"]},"quietZoneModules":{"type":"integer","minimum":0,"maximum":16},"dotsOptions":{"type":"object","properties":{"typeId":{"type":"integer","minimum":1,"maximum":6},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","minLength":7,"maxLength":9},{"type":"null"}]},"gradient":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["linear","radial"]},"rotation":{"type":"number","minimum":-6.283185307179586,"maximum":6.283185307179586},"coords":{"type":"object","properties":{"x1":{"type":"number","minimum":0,"maximum":1},"y1":{"type":"number","minimum":0,"maximum":1},"x2":{"type":"number","minimum":0,"maximum":1},"y2":{"type":"number","minimum":0,"maximum":1},"r1":{"type":"number","minimum":0,"maximum":1},"r2":{"type":"number","minimum":0,"maximum":1}},"required":["x1","y1","x2","y2"],"additionalProperties":false},"colorStops":{"type":"array","items":{"type":"object","properties":{"offset":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","minLength":7,"maxLength":9}},"required":["offset","color"],"additionalProperties":false},"minItems":2,"maxItems":32}},"required":["type","colorStops"],"additionalProperties":false},{"type":"null"}]}},"required":[],"additionalProperties":false,"minProperties":1},"cornersSquareOptions":{"type":"object","properties":{"typeId":{"type":"integer","minimum":1,"maximum":4},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","minLength":7,"maxLength":9},{"type":"null"}]},"gradient":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["linear","radial"]},"rotation":{"type":"number","minimum":-6.283185307179586,"maximum":6.283185307179586},"coords":{"type":"object","properties":{"x1":{"type":"number","minimum":0,"maximum":1},"y1":{"type":"number","minimum":0,"maximum":1},"x2":{"type":"number","minimum":0,"maximum":1},"y2":{"type":"number","minimum":0,"maximum":1},"r1":{"type":"number","minimum":0,"maximum":1},"r2":{"type":"number","minimum":0,"maximum":1}},"required":["x1","y1","x2","y2"],"additionalProperties":false},"colorStops":{"type":"array","items":{"type":"object","properties":{"offset":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","minLength":7,"maxLength":9}},"required":["offset","color"],"additionalProperties":false},"minItems":2,"maxItems":32}},"required":["type","colorStops"],"additionalProperties":false},{"type":"null"}]}},"required":[],"additionalProperties":false,"minProperties":1},"cornersDotOptions":{"type":"object","properties":{"typeId":{"type":"integer","minimum":1,"maximum":3},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","minLength":7,"maxLength":9},{"type":"null"}]},"gradient":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["linear","radial"]},"rotation":{"type":"number","minimum":-6.283185307179586,"maximum":6.283185307179586},"coords":{"type":"object","properties":{"x1":{"type":"number","minimum":0,"maximum":1},"y1":{"type":"number","minimum":0,"maximum":1},"x2":{"type":"number","minimum":0,"maximum":1},"y2":{"type":"number","minimum":0,"maximum":1},"r1":{"type":"number","minimum":0,"maximum":1},"r2":{"type":"number","minimum":0,"maximum":1}},"required":["x1","y1","x2","y2"],"additionalProperties":false},"colorStops":{"type":"array","items":{"type":"object","properties":{"offset":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","minLength":7,"maxLength":9}},"required":["offset","color"],"additionalProperties":false},"minItems":2,"maxItems":32}},"required":["type","colorStops"],"additionalProperties":false},{"type":"null"}]}},"required":[],"additionalProperties":false,"minProperties":1},"backgroundOptions":{"type":"object","properties":{"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","minLength":7,"maxLength":9},{"type":"null"}]},"gradient":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["linear","radial"]},"rotation":{"type":"number","minimum":-6.283185307179586,"maximum":6.283185307179586},"coords":{"type":"object","properties":{"x1":{"type":"number","minimum":0,"maximum":1},"y1":{"type":"number","minimum":0,"maximum":1},"x2":{"type":"number","minimum":0,"maximum":1},"y2":{"type":"number","minimum":0,"maximum":1},"r1":{"type":"number","minimum":0,"maximum":1},"r2":{"type":"number","minimum":0,"maximum":1}},"required":["x1","y1","x2","y2"],"additionalProperties":false},"colorStops":{"type":"array","items":{"type":"object","properties":{"offset":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$","minLength":7,"maxLength":9}},"required":["offset","color"],"additionalProperties":false},"minItems":2,"maxItems":32}},"required":["type","colorStops"],"additionalProperties":false},{"type":"null"}]}},"required":[],"additionalProperties":false,"minProperties":1}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","areaId","layerId","qr"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_set_shape_geometry","title":"set shape geometry","description":"Set all or individual rectangle corner radii using native object units. Values above the actual rectangle bounds are rejected before commit.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"shape":{"type":"object","properties":{"cornerRadii":{"anyOf":[{"type":"number","minimum":0,"maximum":100000},{"type":"object","properties":{"tl":{"type":"number","minimum":0,"maximum":100000},"tr":{"type":"number","minimum":0,"maximum":100000},"br":{"type":"number","minimum":0,"maximum":100000},"bl":{"type":"number","minimum":0,"maximum":100000}},"required":["tl","tr","br","bl"],"additionalProperties":false}]}},"required":["cornerRadii"],"additionalProperties":false}},"required":["projectId","expectedRevision","areaId","layerId","shape"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_get_artwork_options","title":"get artwork options","description":"Discover native artwork capabilities: text effects/ranges, QR style IDs, rectangle geometry and the complete supported raster-filter recipes. No private source URLs.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.artworkOptions"}},{"name":"ed_prepare_font","title":"prepare font","description":"Prepare an existing catalog font for local vector text. Uses cached private fonts, or downloads only bundled static fonts / Google static font files; never the application API. No URL argument.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"fontId":{"type":"string","minLength":1,"maxLength":160},"fontFamily":{"type":"string","minLength":1,"maxLength":256},"fontWeight":{"type":"string","enum":["normal","bold","100","200","300","400","500","600","700","800","900"]},"fontStyle":{"type":"string","enum":["normal","italic"]}},"required":["projectId","expectedRevision"],"additionalProperties":false,"oneOf":[{"required":["fontId"]},{"required":["fontFamily"]}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"font.prepare"}},{"name":"ed_create_design_draft","title":"create design draft","description":"Create a new unsaved local design draft from the already loaded native owner product. copy preserves artwork; blank starts empty while retaining product options. Source project is preserved: the UI Save action is forced through native Save As with real ID remapping. No backend call during creation. Unsupported in hosts without a copy-save contract.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":256},"mode":{"type":"string","enum":["copy","blank"]}},"required":["projectId","expectedRevision","name","mode"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"design.draft"}},{"name":"ed_get_design_draft","title":"get design draft","description":"Read the current local draft and creation/save availability. A local draft has its own draftId while keeping its authorized source resource until explicit Save As.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.designDraft"}},{"name":"ed_get_authoring_state","title":"get authoring state","description":"Owner Designer only: inspect offered definitions, measurements, localized names, production fields/metadata, print recipes/pricing, prices and already cached external mapping options. No catalog or backend fetch.","inputSchema":{"type":"object","properties":{"modelId":{"type":"string","minLength":1,"maxLength":160},"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":["modelId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.authoring"}},{"name":"ed_set_image_appearance","title":"set image appearance","description":"Set native raster opacity gradient, individual corners and frame/content border. Preserves disabled recipes and uses the native image renderer/history.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"appearance":{"type":"object","properties":{"opacityGradient":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"enum":["linear","radial"]},"coords":{"type":"object","properties":{"x1":{"type":"number","minimum":-2,"maximum":2},"x2":{"type":"number","minimum":-2,"maximum":2},"y1":{"type":"number","minimum":-2,"maximum":2},"y2":{"type":"number","minimum":-2,"maximum":2},"r1":{"type":"number","minimum":0,"maximum":2},"r2":{"type":"number","minimum":0,"maximum":2}},"required":[],"additionalProperties":false},"colorStops":{"type":"array","minItems":2,"maxItems":128,"items":{"type":"object","properties":{"offset":{"type":"number","minimum":0,"maximum":1},"opacity":{"type":"number","minimum":0,"maximum":1}},"required":["offset","opacity"],"additionalProperties":false}}},"required":["type","colorStops"],"additionalProperties":false}]},"corners":{"type":"object","properties":{"radii":{"anyOf":[{"type":"number","minimum":0,"maximum":100000},{"type":"object","properties":{"tl":{"type":"number","minimum":0,"maximum":100000},"tr":{"type":"number","minimum":0,"maximum":100000},"br":{"type":"number","minimum":0,"maximum":100000},"bl":{"type":"number","minimum":0,"maximum":100000}},"required":["tl","tr","br","bl"],"additionalProperties":false}]},"linked":{"type":"boolean"}},"required":["radii"],"additionalProperties":false},"border":{"type":"object","properties":{"enabled":{"type":"boolean"},"mode":{"enum":["frame","content"]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"},"width":{"type":"number","minimum":0,"maximum":1000},"dashArray":{"anyOf":[{"type":"null"},{"type":"array","items":{"type":"number","minimum":0,"maximum":1000},"minItems":1,"maxItems":16}]},"lineJoin":{"enum":["miter","bevel","round"]},"lineCap":{"enum":["butt","round","square"]},"paintFirst":{"enum":["stroke","fill"]}},"required":[],"additionalProperties":false,"minProperties":1}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","areaId","layerId","appearance"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_get_view","title":"get view","description":"Read native presentation, camera, lighting, workspace, available currencies/languages/themes, local availability and playback without pixels or URLs.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.view"}},{"name":"ed_set_scene","title":"set scene","description":"Set native orbit camera, temporary Designer lighting and already loaded animation playback. Unloaded private environments/animation require native UI preparation.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"camera":{"type":"object","properties":{"alphaDegrees":{"type":"number","minimum":-3600,"maximum":3600},"betaDegrees":{"type":"number","minimum":0,"maximum":180},"radius":{"type":"number","minimum":1e-06,"maximum":10000},"target":{"type":"object","properties":{"x":{"type":"number","minimum":-10000,"maximum":10000},"y":{"type":"number","minimum":-10000,"maximum":10000},"z":{"type":"number","minimum":-10000,"maximum":10000}},"required":["x","y","z"],"additionalProperties":false}},"required":[],"additionalProperties":false},"lighting":{"type":"object","properties":{"environmentId":{"type":"integer","minimum":1,"maximum":10000},"rotationDeg":{"type":"number","minimum":0,"maximum":360},"intensity":{"type":"number","minimum":0,"maximum":2},"reset":{"type":"boolean"}},"required":[],"additionalProperties":false},"animation":{"type":"string","enum":["pause","resume"]},"space3dEdit":{"type":"boolean"}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"view.scene"}},{"name":"ed_set_preferences","title":"set preferences","description":"Set local UI preferences; custom theme requires owner authoring, local background uses a validated asset and independent Blob URL. No theme Save or backend hydration.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"language":{"type":"string","enum":["pl","en","de","es","fr","ru","pt-BR","zh-CN","hi","sv","nb","it","nl","ro","el","da","cs","pt-PT","tr","uk","ja","ar"]},"currencyId":{"type":"string","minLength":1,"maxLength":160},"themeId":{"type":"integer","minimum":0,"maximum":10},"customTheme":{"type":["object","null"],"properties":{"brandAccent":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"brandAccentHover":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"selectedControl":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"selectedControlHover":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"navigationBarsBackground":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"workspaceNavigationBackground":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"panelBackground":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"titleBar":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"titleBarHover":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"surface":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"surfaceHover":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"cartButton":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"cartButtonHover":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"cartButtonText":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"cartBadgeBackground":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"cartBadgeText":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"primaryText":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"secondaryText":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"textOnAccent":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":[],"additionalProperties":false},"postProcessing":{"type":"object","properties":{"ssao":{"type":"boolean"},"ssr":{"type":"boolean"},"chromaticAberration":{"type":"boolean"},"depthOfField":{"type":"boolean"},"grain":{"type":"boolean"},"antialiasing":{"type":"boolean"},"sharpen":{"type":"boolean"},"bloom":{"type":"boolean"},"vignette":{"type":"boolean"},"colorCorrection":{"type":"boolean"}},"required":[],"additionalProperties":false},"background":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"gradient":{"type":"object","properties":{"from":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"to":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["from","to"],"additionalProperties":false},"blur":{"type":"number","minimum":0,"maximum":100},"brightness":{"type":"number","minimum":0,"maximum":3},"presetId":{"type":"string","minLength":1,"maxLength":160},"assetId":{"type":"string","minLength":1,"maxLength":160},"clearImage":{"type":"boolean"}},"required":[],"additionalProperties":false}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"view.preferences"}},{"name":"ed_set_workspace","title":"set workspace","description":"Set native grid/snap/background presentation, split ratios, sidebar/model selection, zoom percentage or fit. Does not alter product geometry.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"grid":{"type":"object","properties":{"visible":{"type":"boolean"},"snapToLayers":{"type":"boolean"},"backgroundImageVisible":{"type":"boolean"},"backgroundColorEnabled":{"type":"boolean"},"backgroundColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"backgroundImageGridPosition":{"type":"string","enum":["ABOVE","BELOW"]}},"required":[],"additionalProperties":false},"horizontalRatio":{"type":"number","minimum":0.2,"maximum":0.8},"verticalRatio":{"type":"number","minimum":0.2,"maximum":0.8},"resetSplit":{"type":"boolean"},"zoomPercent":{"type":"integer","minimum":1,"maximum":500},"fitCanvas":{"type":"boolean"},"leftSidebarVisible":{"type":"boolean"},"activeModelId":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"view.workspace"}},{"name":"ed_set_owner_print_config","title":"set owner print config","description":"Configure native owner variant print color bounds/default palette and surcharges per currency and color count. Target one variant or all offered variants of a print type; host-owned policies/pricing cannot be overridden.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"modelId":{"type":"string","minLength":1,"maxLength":160},"variantId":{"type":"string","minLength":1,"maxLength":160},"printTypeId":{"type":"string","minLength":1,"maxLength":160},"settings":{"type":"object","properties":{"minColors":{"type":"integer","minimum":1,"maximum":16},"maxColors":{"type":"integer","minimum":1,"maximum":16},"defaultColorCount":{"type":"integer","minimum":1,"maximum":16},"palette":{"type":"array","items":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"minItems":1,"maxItems":16},"colorPrices":{"type":"array","items":{"type":"object","properties":{"currencyId":{"type":"string","minLength":1,"maxLength":160},"colorCount":{"type":"integer","minimum":1,"maximum":16},"price":{"anyOf":[{"type":"number","minimum":0,"maximum":100000000.0},{"type":"null"}]}},"required":["currencyId","colorCount","price"],"additionalProperties":false},"minItems":1,"maxItems":128}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","modelId","settings"],"additionalProperties":false,"oneOf":[{"required":["variantId"]},{"required":["printTypeId"]}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"offer.edit"}},{"name":"ed_set_owner_option_mapping","title":"set owner option mapping","description":"Assign or clear a native owner option mapping using only the already loaded Woo attribute/term catalog. No remote catalog lookup; clearing requires termId:null.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"modelId":{"type":"string","minLength":1,"maxLength":160},"kind":{"type":"string","enum":["size","color","material","printType"]},"optionId":{"type":"string","minLength":1,"maxLength":160},"attributeId":{"type":"integer","minimum":1,"maximum":9007199254740991},"termId":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]}},"required":["projectId","expectedRevision","modelId","kind","optionId","termId"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"offer.edit"}},{"name":"ed_get_vector","title":"get vector","description":"Read paginated native vector anchors, handles, subpaths and segments in local and workspace coordinates. Print-area helper objects require owner print-area tools.","inputSchema":{"type":"object","properties":{"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"offset":{"type":"integer","minimum":0,"maximum":1024},"limit":{"type":"integer","minimum":1,"maximum":256}},"required":["areaId","layerId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.vector"}},{"name":"ed_edit_vector","title":"edit vector","description":"Edit a local vector layer with the native anchor, Bezier, cut, connect, merge, offset and mirror tools. Applies one native Undo transaction; protected and locked relations are checked.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"vector":{"type":"object","properties":{"ops":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"op":{"const":"move"},"indexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1023},"minItems":1,"maxItems":1024,"uniqueItems":true},"delta":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"mode":{"enum":["FREE","ALONG_PATH"]},"space":{"enum":["local","workspace"]}},"required":["op","indexes","delta"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"moveTo"},"index":{"type":"integer","minimum":0,"maximum":1023},"point":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"mode":{"enum":["FREE","ALONG_PATH"]},"space":{"enum":["local","workspace"]}},"required":["op","index","point"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"handle"},"index":{"type":"integer","minimum":0,"maximum":1023},"side":{"enum":["in","out"]},"point":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"mode":{"enum":["MIRRORED","MIRRORED_ANGLE","INDEPENDENT"]},"snap45":{"type":"boolean"},"space":{"enum":["local","workspace"]}},"required":["op","index","side","point"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"bend"},"index":{"type":"integer","minimum":0,"maximum":1023},"point":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"mode":{"enum":["MIRRORED","MIRRORED_ANGLE","INDEPENDENT"]},"snap45":{"type":"boolean"},"space":{"enum":["local","workspace"]}},"required":["op","index","point"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"handleMode"},"indexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1023},"minItems":1,"maxItems":1024,"uniqueItems":true},"mode":{"enum":["MIRRORED","MIRRORED_ANGLE","INDEPENDENT"]},"preferredSide":{"enum":["in","out"]}},"required":["op","indexes","mode"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"handleEnabled"},"indexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1023},"minItems":1,"maxItems":1024,"uniqueItems":true},"side":{"enum":["in","out"]},"enabled":{"type":"boolean"}},"required":["op","indexes","side","enabled"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"addOnPath"},"segmentIndex":{"type":"integer","minimum":0,"maximum":2047},"t":{"type":"number","minimum":1e-06,"maximum":0.999999}},"required":["op","segmentIndex","t"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"addFree"},"point":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"connectFrom":{"type":"integer","minimum":0,"maximum":1023},"space":{"enum":["local","workspace"]}},"required":["op","point"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"remove"},"indexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1023},"minItems":1,"maxItems":1024,"uniqueItems":true}},"required":["op","indexes"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"connect"},"from":{"type":"integer","minimum":0,"maximum":1023},"to":{"type":"integer","minimum":0,"maximum":1023}},"required":["op","from","to"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"merge"},"from":{"type":"integer","minimum":0,"maximum":1023},"to":{"type":"integer","minimum":0,"maximum":1023}},"required":["op","from","to"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"cut"},"cuts":{"type":"array","items":{"type":"object","properties":{"segmentIndex":{"type":"integer","minimum":0,"maximum":2047},"t":{"type":"number","minimum":1e-06,"maximum":0.999999}},"required":["segmentIndex","t"],"additionalProperties":false},"minItems":1,"maxItems":128}},"required":["op","cuts"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"cutLine"},"line":{"type":"object","properties":{"from":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"to":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false}},"required":["from","to"],"additionalProperties":false},"space":{"enum":["local","workspace"]}},"required":["op","line"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"offset"},"indexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1023},"minItems":1,"maxItems":1024,"uniqueItems":true},"distance":{"type":"number","minimum":-10000,"maximum":10000},"mode":{"enum":["ALL","HORIZONTAL","VERTICAL"]}},"required":["op","indexes","distance"],"additionalProperties":false},{"type":"object","properties":{"op":{"const":"mirror"},"indexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1023},"minItems":1,"maxItems":1024,"uniqueItems":true},"line":{"type":"object","properties":{"from":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false},"to":{"type":"object","properties":{"x":{"type":"number","minimum":-100000,"maximum":100000},"y":{"type":"number","minimum":-100000,"maximum":100000}},"required":["x","y"],"additionalProperties":false}},"required":["from","to"],"additionalProperties":false},"mergeDistance":{"type":"number","minimum":0,"maximum":10000},"space":{"enum":["local","workspace"]}},"required":["op","line"],"additionalProperties":false}]},"minItems":1,"maxItems":128}},"required":["ops"],"additionalProperties":false}},"required":["projectId","expectedRevision","areaId","layerId","vector"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_get_print_area_pod","title":"get print area pod","description":"Owner Designer only: inspect per-size POD assignments and the catalog already loaded by native UI. A cache miss never fetches a provider catalog.","inputSchema":{"type":"object","properties":{"modelId":{"type":"string","minLength":1,"maxLength":160},"areaName":{"type":"string","minLength":1,"maxLength":160},"sizeId":{"type":"string","minLength":1,"maxLength":160},"offset":{"type":"integer","minimum":0,"maximum":1000000},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":["modelId","areaName"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.printAreaPod"}},{"name":"ed_edit_print_area_pod","title":"edit print area pod","description":"Owner Designer only: assign, unassign, fit or configure POD print areas per size using only the catalog already loaded in this session. Changes remain local until native Save.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"modelId":{"type":"string","minLength":1,"maxLength":160},"areaName":{"type":"string","minLength":1,"maxLength":160},"sizeIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":128,"uniqueItems":true},"action":{"enum":["assign","unassign","fit","settings"]},"placeholderKey":{"type":"string","minLength":1,"maxLength":512},"fit":{"enum":["size","shape","size-and-shape"]},"settings":{"type":"object","properties":{"format":{"enum":["png","pdf","jpg","svg"]},"dpi":{"type":"integer","minimum":72,"maximum":1200},"bleedMm":{"type":"number","minimum":0,"maximum":100},"transparent":{"type":"boolean"},"includeMockup":{"type":"boolean"},"mockupPlacement":{"enum":["none","default","front","back"]},"background":{"enum":["transparent","white","provider_default"]},"notes":{"type":"string","maxLength":1000}},"additionalProperties":false}},"required":["projectId","expectedRevision","modelId","areaName","action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"printArea.edit"}},{"name":"ed_get_print_area_vector","title":"get print area vector","description":"Owner Designer or verified order administrator only: read native print-area anchors, Bezier handles, subpaths and segments before typed vector editing. Local geometry, no canvas load or request.","inputSchema":{"type":"object","properties":{"modelId":{"type":"string","minLength":1,"maxLength":160},"collectionId":{"type":"string","minLength":1,"maxLength":160},"areaName":{"type":"string","minLength":1,"maxLength":160},"offset":{"type":"integer","minimum":0,"maximum":1024},"limit":{"type":"integer","minimum":1,"maximum":256}},"required":["modelId","collectionId","areaName"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.printAreaVector"}},{"name":"ed_get_layer_tools","title":"ed get layer tools","description":"Discover the actual native toolbar for one layer type, including disabled tool reasons from current locks and role.","inputSchema":{"type":"object","properties":{"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160}},"required":["areaId","layerId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.layerTools"}},{"name":"ed_open_layer_tool","title":"ed open layer tool","description":"Select an editable layer and open its actual native toolbar popover. Does not bypass locks or change artwork.","inputSchema":{"type":"object","properties":{"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"tool":{"type":"string","enum":["TRANSFORM","PATTERN","PROPERTIES","TEXT_EFFECTS","FONT","FILL","STROKE","SHADOW","FILTERS","CORNERS","QR_DOTS","QR_CORNERS","QR_CORNER_DOTS","QR_BACKGROUND"]},"open":{"type":"boolean"},"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["areaId","layerId","tool","projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"view.layerTool"}},{"name":"ed_get_printing_manager","title":"Read Printing Manager","description":"Owner or verified order administrator only: inspect native local print settings, enabled areas, calibration and download readiness. Never uploads artwork or queues server jobs.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.printing"}},{"name":"ed_set_printing_settings","title":"Set local Printing Manager preferences","description":"Set the same manual PNG/SVG/PDF, DPI, layer scope, margin, bleed, cut-line, alpha and background preferences as native Printing Manager. Local browser preferences only; canonical product/POD recipes stay protected.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"settings":{"type":"object","minProperties":1,"properties":{"format":{"enum":["png","svg","pdf"]},"dpi":{"enum":[72,150,200,300]},"layers":{"enum":["all","selected"]},"marginMm":{"type":"number","minimum":0,"maximum":1000},"bleedMm":{"type":"number","minimum":0,"maximum":1000},"cuttingLine":{"type":"object","minProperties":1,"properties":{"enabled":{"type":"boolean"},"color":{"type":"string","pattern":"^#[a-fA-F0-9]{6}$"},"widthMm":{"type":"number","minimum":0,"maximum":100}},"additionalProperties":false},"removeSemiTransparentPixels":{"type":"boolean"},"background":{"enum":["transparent","product"]},"skipPrintingMethodEffects":{"type":"boolean"}},"additionalProperties":false}},"required":["projectId","expectedRevision","settings"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"view.printing"}},{"name":"ed_get_print_preview","title":"Inspect native print preview measurements","description":"Read actual native preview output dimensions, DPI and per-area readiness. The bitmap remains visible in the native Printing Manager; no pixels or private URLs leave the browser.","inputSchema":{"type":"object","properties":{"areaId":{"type":"string","minLength":1,"maxLength":160}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.printingPreview"}},{"name":"ed_open_printing_manager","title":"Open native Printing Manager","description":"Open or close native local Printing Manager and choose one enabled area or all areas. Native preview uses the current settings. Does not generate files, upload or start a server print queue.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"open":{"type":"boolean"},"areaId":{"type":["string","null"],"minLength":1,"maxLength":160}},"required":["projectId","expectedRevision","open"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"view.printingManager"}},{"name":"ed_download_print_files","title":"Download local print files","description":"Explicit owner/order-admin browser download through the already open native Printing Manager. Uses current PNG/SVG/PDF settings and selected enabled print areas. Several files use native ZIP packaging. A unique requestId protects retries; receipt follows the native download click. No order upload, POD upload, server jobs or paid fulfillment.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"requestId":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{8,100}$"}},"required":["projectId","expectedRevision","requestId"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"view.printingDownload"}},{"name":"ed_manage_print_area_collections","title":"Clone or share native print-area collections","description":"Owner Designer only: clone an existing native print-area collection for selected offered sizes, or assign those sizes to another existing shared collection. Geometry, POD recipes and other sizes are preserved. One local Undo/Redo transaction; no save or network call.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"modelId":{"type":"string","minLength":1,"maxLength":160},"action":{"enum":["clone","assign"]},"collectionId":{"type":"string","minLength":1,"maxLength":160},"sizeIds":{"type":"array","minItems":1,"maxItems":128,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":160}}},"required":["projectId","expectedRevision","modelId","action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"offer.edit"}},{"name":"ed_get_print_area_presets","title":"List locally loaded print-area presets","description":"Owner Designer only: list matching presets already loaded by explicitly opening the native print-area preset selector. No catalog request, backend write or geometry is accepted from MCP.","inputSchema":{"type":"object","properties":{"modelId":{"type":"string","minLength":1,"maxLength":160},"offset":{"type":"integer","minimum":0,"maximum":512},"limit":{"type":"integer","minimum":1,"maximum":64}},"required":["modelId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"read.printAreaPresets"}},{"name":"ed_apply_print_area_preset","title":"Apply a loaded print-area preset locally","description":"Owner Designer only: apply geometry from an exact loaded preset to the print-area collections used by offered sizes. Shared collection bindings also affect their other sizes; clone a collection first to isolate a size. Preserves current POD recipes and source metadata. One local Undo/Redo transaction; no preset Save/delete or upload.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"modelId":{"type":"string","minLength":1,"maxLength":160},"presetId":{"type":"string","minLength":1,"maxLength":160},"sizeIds":{"type":"array","minItems":1,"maxItems":128,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":160}}},"required":["projectId","expectedRevision","modelId","presetId"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"offer.edit"}},{"name":"ed_get_image_mask","title":"Read local image mask coordinates","description":"Inspect an admitted editable raster's original pixel dimensions and a bounded alpha-mask grid (1–32 samples per side). No image bytes, source URLs or remote mask loading. Use these source coordinates for manual masking; locked/owner-reserved images remain protected.","inputSchema":{"type":"object","additionalProperties":false,"required":["areaId","layerId"],"properties":{"areaId":{"type":"string","minLength":1,"maxLength":128},"layerId":{"type":"string","minLength":1,"maxLength":128},"gridSize":{"type":"integer","minimum":1,"maximum":32}}},"annotations":{"readOnlyHint":true,"openWorldHint":false,"destructiveHint":false,"idempotentHint":true},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_edit_image_mask","title":"Edit image alpha mask","description":"Apply one atomic native mask edit to an admitted raster. Image-space pixel coordinates support erase/restore strokes, native color-range tolerance/blur, circle feather and reset. Keeps original RGB, a separate restorable mask, crop and filters. One editor Undo/Redo transaction; output stays local until Save. Saved native originals and masks are prepared locally on this explicit request; no caller URL is accepted.","inputSchema":{"type":"object","additionalProperties":false,"required":["projectId","expectedRevision","areaId","layerId","operations"],"properties":{"projectId":{"type":"string","minLength":1,"maxLength":128},"expectedRevision":{"type":"integer","minimum":0},"areaId":{"type":"string","minLength":1,"maxLength":128},"layerId":{"type":"string","minLength":1,"maxLength":128},"operations":{"type":"array","minItems":1,"maxItems":64,"items":{"oneOf":[{"type":"object","additionalProperties":false,"required":["type","mode","diameterPx","points"],"properties":{"type":{"const":"stroke"},"mode":{"enum":["erase","restore"]},"diameterPx":{"type":"number","minimum":1,"maximum":4096},"opacity":{"type":"number","minimum":0,"maximum":1},"hardness":{"type":"number","minimum":0,"maximum":1},"points":{"type":"array","minItems":1,"maxItems":512,"items":{"type":"object","additionalProperties":false,"required":["x","y"],"properties":{"x":{"type":"number","minimum":0,"maximum":4096},"y":{"type":"number","minimum":0,"maximum":4096}}}}}},{"type":"object","additionalProperties":false,"required":["type","x","y"],"properties":{"type":{"const":"color-range"},"x":{"type":"number","minimum":0,"maximum":4096},"y":{"type":"number","minimum":0,"maximum":4096},"tolerance":{"type":"number","minimum":1,"maximum":100},"blurPx":{"type":"number","minimum":0,"maximum":10}}},{"type":"object","additionalProperties":false,"required":["type","cx","cy","radiusPx"],"properties":{"type":{"const":"circle"},"cx":{"type":"number","minimum":0,"maximum":4096},"cy":{"type":"number","minimum":0,"maximum":4096},"radiusPx":{"type":"number","exclusiveMinimum":0,"maximum":8192},"featherPx":{"type":"number","minimum":0,"maximum":8192}}},{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"const":"reset"}}}]}}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}},{"name":"ed_get_graphic_library","title":"Browse loaded graphic libraries","description":"Search native graphic rows already loaded by the current editor UI, or cached static Iconify collections. No catalog request, private URL or image bytes. If requiresUiLoad, open GRAPHICS_LIBRARY or ICON_LIBRARY first. Without an Iconify prefix returns cached collection metadata.","inputSchema":{"type":"object","additionalProperties":false,"required":["source"],"properties":{"source":{"enum":["graphics","iconify"]},"search":{"type":"string","maxLength":200},"categoryIds":{"type":"array","maxItems":128,"items":{"type":["string","number"]}},"kind":{"enum":["raster","vector"]},"prefix":{"type":"string","pattern":"^[a-z0-9]+(?:[-_][a-z0-9]+)*$","maxLength":64},"offset":{"type":"integer","minimum":0,"maximum":50000},"limit":{"type":"integer","minimum":1,"maximum":100}}},"annotations":{"readOnlyHint":true,"openWorldHint":false,"destructiveHint":false,"idempotentHint":true},"_meta":{"alter/editorOperation":"read"}},{"name":"ed_import_library_graphic","title":"Import a loaded library graphic locally","description":"Import a trusted graphic/Iconify item ID through the native local File/SVG sanitizer and bounded asset registry. Returns assetId for ed_add_layer image or ed_replace_image; no upload until Save. Fetches only that explicitly selected native file/public icon, never a caller URL or a catalog.","inputSchema":{"type":"object","additionalProperties":false,"required":["projectId","expectedRevision","source","itemId"],"properties":{"projectId":{"type":"string","minLength":1,"maxLength":128},"expectedRevision":{"type":"integer","minimum":0},"source":{"enum":["graphics","iconify"]},"itemId":{"type":"string","minLength":1,"maxLength":256}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"alter/editorOperation":"asset.import"}},{"name":"ed_get_project_library","title":"Browse loaded owner composition templates","description":"Owner-only catalog of currently loaded native project composition templates for this product. Open PROJECT_LIBRARY first; no backend catalog request and no template artwork/URLs are returned.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"search":{"type":"string","maxLength":200},"categoryIds":{"type":"array","maxItems":128,"items":{"type":["string","number"]}},"offset":{"type":"integer","minimum":0,"maximum":5000},"limit":{"type":"integer","minimum":1,"maximum":100}}},"annotations":{"readOnlyHint":true,"openWorldHint":false,"destructiveHint":false,"idempotentHint":true},"_meta":{"alter/editorOperation":"structure.edit"}},{"name":"ed_apply_project_template","title":"Apply an owner composition template","description":"Designer-owner only. Hydrate the selected native template offscreen, recheck project/product/revision/targets, then replace artwork in one native Undo/Redo transaction. Does not change print-area definitions, offers or variant selection. Never available to Customizer clients.","inputSchema":{"type":"object","additionalProperties":false,"required":["projectId","expectedRevision","templateId"],"properties":{"projectId":{"type":"string","minLength":1,"maxLength":128},"expectedRevision":{"type":"integer","minimum":0},"templateId":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true},"_meta":{"alter/editorOperation":"structure.edit"}},{"name":"ed_set_linked_vectorization","title":"Set native linked image vectorization","description":"Owner Designer only: enable/disable the native reversible vector image renderer, change its preset/detail/palette or recalculate locally. Original raster, mask, crop and filters remain intact. Toggle reuses current validated native geometry when available. Only saved native original/mask references may be prepared on this explicit request; no caller URL or backend AI call.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"enabled":{"type":"boolean"},"recalculate":{"type":"boolean"},"recipe":{"type":"object","properties":{"preset":{"type":"string","enum":["lineart","limited-color"]},"detail":{"type":"integer","minimum":1,"maximum":100},"paletteColors":{"type":"integer","minimum":1,"maximum":32}},"additionalProperties":false}},"required":["projectId","expectedRevision","areaId","layerId","enabled"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit","alter/ownerOnly":true}},{"name":"ed_rename_layer_group","title":"Rename a native layer group","description":"Rename an existing regular or relational mask group in one local Undo/Redo transaction. Resolves all group members and checks their complete relationship component, locks and owner reservations before editing. Does not ungroup, change masking or save the project.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"groupId":{"type":"string","minLength":1,"maxLength":160},"title":{"type":"string","minLength":1,"maxLength":256}},"required":["projectId","expectedRevision","areaId","groupId","title"],"additionalProperties":false},"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"_meta":{"alter/editorOperation":"layer.group"}},{"name":"ed_get_mockups","title":"Inspect native mockups","description":"Read loaded product mockups, active native preview/readiness, render sizes and local download job receipts. No image bytes, private source URLs, product-gallery write or backend polling. Editable project and host variant access required.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"_meta":{"alter/editorOperation":"read.mockups"}},{"name":"ed_set_mockup_view","title":"Set native mockup preview","description":"Open/close the native mockup panel, choose an offered mockup, thumb/small/medium/large and current/all compatible preset colors. Opening uses the existing native preview lifecycle. Never changes mockup templates or product galleries.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"open":{"type":"boolean"},"mockupId":{"type":"string","minLength":1,"maxLength":160},"size":{"enum":["thumb","small","medium","large"]},"allColors":{"type":"boolean"}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"_meta":{"alter/editorOperation":"view.mockups"}},{"name":"ed_download_mockups","title":"Start a local native mockup download","description":"Start one PNG or all-compatible-colors ZIP through the mounted native renderer and its existing download entitlement check. Poll ed_get_mockups downloads by requestId; same request never downloads twice. Context/revision/host/variant checks remain active until the final click. No upload/publication/fulfillment.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"requestId":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{8,100}$"}},"required":["projectId","expectedRevision","requestId"],"additionalProperties":false},"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"_meta":{"alter/editorOperation":"view.mockupDownload"}},{"name":"ed_layout_artwork","title":"Center image and caption","description":"Fit and center one existing image and one separate editable text caption as a vertical composition in the actual loaded print-area shape. Uses native workspace coordinates, preserves image/text aspect ratios, leaves a gap, and updates 2D and 3D in one native Undo action. Reads the real clipping shape, including its origin, scale and rotation; do not guess left/top from serialized geometry. Requires two distinct editable ungrouped/unmasked non-pattern layers in the same area. Returns canvas geometry, center and rendered bounds of both layers; no Save.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"areaId":{"type":"string","minLength":1,"maxLength":160},"imageLayerId":{"type":"string","minLength":1,"maxLength":160},"captionLayerId":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision","areaId","imageLayerId","captionLayerId"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alter/editorOperation":"layer.edit"}}]
