genart.dev
MCP ToolsPlugin ToolsShapes

design_set_polygon

Set polygon-specific properties (sides, inner radius).

Set polygon-specific properties (sides, inner radius).

Plugin: Shapes

Input Schema

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

Side Effects

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