genart.dev
MCP ToolsPlugin ToolsIdentity

design_check_contrast

Check color contrast ratio between two colors (WCAG).

Check color contrast ratio between two colors (WCAG).

Plugin: Identity

Input Schema

See the Identity 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": "Identity Layer",
  "type": "identity:...",
  "index": 0
}

Side Effects

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