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.
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": {
"input_path": "<input_path>",
"output_directory": "<output_directory>",
"target": "<target>",
"modifier_type": "<modifier_type>"
},
"name": "asset.add_modifier"
}
}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 |