modifier_add
Add a validated modifier to a Blender object by specifying type, name, and parameter overrides. Supports 15 modifier types with automatic error checking.
Instructions
Add a modifier to an object with validated parameters.
Supports 15 modifier types with type checking and range validation. Invalid parameters are caught before sending to Blender.
Args: object_name: Target object name modifier_type: Modifier type (SUBSURF, MIRROR, ARRAY, BEVEL, SOLIDIFY, BOOLEAN, DECIMATE, SMOOTH, SHRINKWRAP, LATTICE, ARMATURE, CLOTH, WEIGHTED_NORMAL, SKIN, WIREFRAME) modifier_name: Custom name for the modifier (auto-generated if empty) params: Dict of parameter overrides (see modifier_list_types for options)
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": {
"object_name": "<object_name>",
"modifier_type": "<modifier_type>"
},
"name": "modifier_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| object_name | Yes | ||
| modifier_name | No | ||
| modifier_type | Yes |