genart.dev
MCP ToolsPlugin ToolsCompositing

design_set_mask

Set a mask on a layer or group.

Set a mask on a layer or group.

Plugin: Compositing

Input Schema

See the Compositing plugin reference for full property documentation.

ParameterTypeRequiredDescription
sketchIdstringNoTarget sketch ID. Defaults to the currently active sketch.

Additional parameters are specific to this tool. Use design_list_layers to inspect existing layers.

Output Shape

{
  "layerId": "layer_abc123",
  "name": "Compositing Layer",
  "type": "compositing:...",
  "index": 0
}

Side Effects

  • Modifies the active sketch's design layer stack.
  • The design composite is re-rendered to reflect the change.