add_modifier
Add and configure a Blender modifier in one call, returning the updated modifier state and full stack. Invalid properties are rejected with valid options.
Instructions
Add and configure a modifier in one call.
Returns the modifier's resulting state and the object's full stack. An unknown property name fails with the list of valid ones.
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": {
"name": "<name>",
"type": "<type>"
},
"name": "add_modifier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Object to add the modifier to | |
| type | Yes | Modifier type | |
| settings | No | Blender property names, e.g. {"width": 0.02, "segments": 3}. Angles are DEGREES. Properties that point at another object (boolean 'object', array 'offset_object', mirror 'mirror_object') take that object's NAME. | |
| use_defaults | No | Apply the bridge's game-friendly defaults for this type before your settings | |
| modifier_name | No | Name for this modifier instance |