apply_modifier
Applies the first viewport-enabled modifier to a target mesh object, making evaluated modifier geometry permanent with snapshot validation and transactional rollback.
Instructions
Apply the first, viewport-enabled modifier in the stack to the target mesh object. Converts evaluated modifier geometry into permanent base mesh geometry with independent readback and transactional rollback.
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>",
"modifier_name": "<modifier_name>",
"expected_snapshot_id": "<expected_snapshot_id>"
},
"name": "apply_modifier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the target mesh object in the active scene. | |
| task_id | No | Optional task or workflow identifier. | |
| approved | No | DEPRECATED / UNTRUSTED: Client-supplied approval flags in tool arguments are not trusted as proof of human consent. | |
| object_name | No | Alias for name. | |
| modifier_name | Yes | Name of the modifier to apply (must be the first viewport-enabled modifier in stack). | |
| modifier_type | No | Type of modifier to apply. Inferred from object modifier stack if omitted. | |
| target_object | No | Alias for name. | |
| expected_snapshot_id | Yes | Modifier stack snapshot fingerprint from inspect_modifier_stack. |