› cavi-ai/
GitHub ↗

Tools

The server publishes 14 tools. Every mutation requires a lease_id unless the tool is listed as lease-free.

Lease-free tools: scene_info, inspect_mesh_quality, inspect_rig, render_preview, review_sheet and session_control. asset_io generation also runs without a lease, but import, export and save do not.

scene_info#

Read-only. Returns Blender version, file, workspace, collection tree and a page of objects. Mesh objects report shape_keys, shape_key_names and the active shape_key_action.

ParameterValues
nameOptional exact object name; returns that object only
limit1–1000, default 200
offsetNonnegative page offset

inspect_mesh_quality#

Read-only. Measures exact static mesh names.

ParameterValues
names1–32 unique mesh names
texture_resolutionTwo integers 1–4096, default [1024, 1024]
uv_layerOptional render-active override
checksAny of naming, topology, lightmap, transforms, origin, materials
namingmesh_prefix, lod_suffix, collision_prefixes
lightmap_uvUV layer name, default UVMap_Lightmap
lightmap_resolution16–4096, default 64

Refuses modifiers, shape keys and rigs.

inspect_rig#

Read-only. Reports hierarchy, linked clips and skin weights.

ParameterValues
armatureExact armature name
meshes1–8 unique mesh names
max_influences1–32, default 4
actionOptional action name to analyze
checksroot_motion, loop, deformation
samples2–32, default 8

Each mesh needs one vertex-group Armature modifier bound to that rig. With checks, the call samples the named or active action and restores the action, pose and frame afterward.

rig_edit#

Mutating. Actions: create, bind, weights, pose, keyframe, clear_pose, retarget, set_action, rename_action, delete_action, nla_push, nla_remove.

ParameterUsed by
nameNew armature, armature or skinned mesh
locationcreate
bonescreate; 1–128 bone specifications
namesbind; 1–16 mesh names
max_influences, clean_threshold, normalizeweights
posespose; 1–128 poses
keyframes, action_namekeyframe; 1–32 frames
framepose, clear_pose
resetpose
source, source_actionretarget; source armature and action
mappingretarget; optional source-to-target bone map
samplesretarget; optional 2–256 samples
new_namerename_action; new action name
track_name, strip_namenla_push, nla_remove
start_framenla_push; default 1

Guide

render_preview#

Lease-free. Returns a PNG MCP image.

ParameterValues
pathNew workspace .png
resolution64–2048, default 512
namesOptional 1–1000 meshes to isolate
directionCamera direction from center
color_modematerial or vertex
rendererworkbench or eevee
orthographicBoolean

Eevee requires material colors and at most 1024 pixels.

session_control#

Lease-free. Inspects, claims, renews or releases edit ownership.

ParameterValues
actioninspect, claim, renew, release
ownerClaim label, at most 128 characters
expected_projectExact project_id from inspect
lease_idClaim token for renew and release
ttl_seconds30–3600, default 600

Guide

object_edit#

Mutating. Actions: create_primitive, create_mesh, transform, set_color, shade, apply_transforms, set_origin, snap_to_grid, rename, add_socket, duplicate, parent, unparent, move_to_collection, shape_key_add, shape_key_value, shape_key_keyframe, shape_key_remove.

Guide

mesh_edit#

Mutating. Actions: modifier, unwrap, decimate_to, remesh_quad, lod_chain, lightmap_uv, texel_density, collision, cleanup, boolean, join, separate, mirror, array, solidify.

Guide

assign_material#

Mutating. Binds a PBR material to exact mesh slots.

ParameterValues
names1–32 unique mesh names
material_name1–63 UTF-8 bytes
base_color_texture, base_colorsRGB map or RGBA scalar
normal_texture, normal_strengthNon-Color map; strength 0–10
roughness_texture, roughnessNon-Color map; 0–1
metallic_texture, metallicNon-Color map; 0–1
emission_texture, emission_strengthsRGB map; strength 0–1000
alpha_texture, alpha_modeNon-Color map; opaque, clip or blend
uv_scale, uv_offset, uv_rotation_degreesOne Mapping node
update_existingBoolean
slot0–31, default 0

Guide

bake#

Mutating. Bakes a normal, AO, curvature or lightmap map into a new PNG.

Guide

asset_io#

Actions: import, export, save, generate. Import, export and save require a lease. Export supports animated FBX, GLB and USD output and FBX and USD texture sidecars with textures=true.

Guide and local generation.

review_sheet#

Lease-free. Returns one PNG contact sheet.

Guide

level_edit#

Mutating. Actions: terrain, place, snap.

ParameterUsed by
nameterrain; new object name
imageterrain; workspace PNG/JPEG heightmap
size, height, resolution, locationterrain; defaults [100, 100], 10, 128, origin
seed, octaves, frequencyterrain; procedural noise, defaults 0, 4, 4
placementsplace; 1–256 {source, name, location, rotation_degrees, scale, linked}
collectionplace; optional target collection
names, terrainsnap; 1–256 objects and the terrain mesh
offset, align_to_normalsnap; defaults 0 and false

Guide

scatter#

Mutating. Adds a fixed Geometry Nodes scatter modifier.

Guide