design_set_plant_grammar
Edit an L-system plant grammar by changing the axiom, productions, branching angle, or iteration count to produce custom growth patterns on a plant layer.
Instructions
Edit L-system grammar on a plant layer. Change axiom, productions, or iterations to create custom growth patterns.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"layerId": "<layerId>"
},
"name": "design_set_plant_grammar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axiom | No | New axiom string (e.g. 'FA', 'FFA'). | |
| layerId | Yes | Target plant layer ID. | |
| angleDeg | No | New branching angle in degrees. | |
| iterations | No | New iteration count (1-10). | |
| widthDecay | No | Branch width decay ratio (0-1). | |
| lengthDecay | No | Branch length decay ratio (0-1). |