Skip to main content
Glama

add_constraint

Apply constraints to objects or bones in Blender to control movement, rotation, and relationships between 3D elements for animation and modeling.

Instructions

Add a constraint to an object or bone.

Args: object_name: Name of the object (armature for bone constraints). bone_name: Name of the bone (empty string for object-level constraints). constraint_type: Constraint type. One of: IK, COPY_ROTATION, COPY_LOCATION, COPY_SCALE, COPY_TRANSFORMS, TRACK_TO, DAMPED_TRACK, LOCKED_TRACK, LIMIT_ROTATION, LIMIT_LOCATION, LIMIT_SCALE, STRETCH_TO, FLOOR, CLAMP_TO, TRANSFORM, MAINTAIN_VOLUME, CHILD_OF, PIVOT, ARMATURE. properties: Optional dict of constraint properties to set (e.g., target, subtarget, chain_count, influence, etc.).

Returns: Dict with the created constraint's name and type.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_nameYes
bone_nameNo
constraint_typeNo
propertiesNo
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jabberwock/blend-ai'

If you have feedback or need assistance with the MCP directory API, please join our Discord server