genart.dev
MCP ToolsPlugin ToolsPlants

design_set_plant_grammar

Set the L-system grammar for a plant layer.

Set the L-system grammar for a plant layer.

Plugin: Plants

Input Schema

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

Side Effects

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