blender_constraint_add
Add IK, copy transforms, tracking, stretch-to, limits, floor, or child-of constraints to bones or objects. Specify target, bone/object name, and type-specific settings for motion control.
Instructions
Add a constraint to a bone or object. Supports IK, copy transforms, tracking, stretch-to, limits, floor, and child-of constraints. Specify either bone_name (for pose bone constraint) or object_name (for object constraint), plus target and type-specific settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settings | No | Constraint-specific settings as key-value pairs (e.g. chain_count for IK, axis for track_to) | |
| bone_name | No | Name of the bone to add constraint to (for bone constraints) | |
| influence | No | Constraint influence 0-1 (default: 1.0) | |
| object_name | No | Name of the object to add constraint to (for object constraints) | |
| target_bone | No | Name of the target bone (if target is an armature) | |
| armature_name | No | Name of the armature object (required for bone constraints) | |
| target_object | No | Name of the target object for the constraint | |
| constraint_type | Yes | Type of constraint to add |