asset.add_modifier
Add bevel or decimate modifiers to target meshes and export new GLB, BLEND, FBX files while preserving original inputs.
Instructions
Add only a Bevel or Decimate modifier to exact target mesh objects.
Bevel accepts width >0..1000 and segments 1..16 (defaults 0.1 and 3). Decimate accepts ratio 0.01..1 (default 0.5). Parameters for the other modifier are rejected. Creates new GLB, BLEND, and FBX files without changing the input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ratio | No | ||
| width | No | ||
| target | Yes | ||
| segments | No | ||
| input_path | Yes | ||
| modifier_type | Yes | ||
| output_directory | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| errors | No | ||
| command | No | ||
| success | Yes | ||
| summary | Yes | ||
| log_path | No | ||
| artifacts | No | ||
| exit_code | No | ||
| operation | Yes | ||
| log_excerpt | No | ||
| operation_id | Yes | ||
| operation_path | No |