mesh_op
Edits Blender meshes with bmesh operations: extrude/inset faces, bevel edges, subdivide, merge by distance, fix normals, triangulate, delete faces, translate vertices, and set shading.
Instructions
Edit a mesh with bmesh. op: extrude_faces (indices=face ids, amount=distance along normal), inset_faces, bevel_edges (indices=edge ids, all edges if empty), subdivide (cuts), merge_by_distance, flip_normals, recalc_normals, triangulate, delete_faces, translate_verts (indices, vector), smooth_shading, flat_shading.
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": "<object>",
"op": "<op>"
},
"name": "mesh_op"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| cuts | No | ||
| amount | No | ||
| object | Yes | ||
| vector | No | ||
| indices | No | ||
| segments | No |