add_bone_constraint
Constrain a bone's motion by applying a constraint type (track to, copy location, IK) with a target object in Blender.
Instructions
Add a constraint to a bone.
Args: armature_name: Target armature. bone_name: Bone to constrain. constraint_type: TRACK_TO, COPY_LOCATION, COPY_ROTATION, IK, etc. target_name: Target object for the constraint.
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": {
"armature_name": "<armature_name>",
"bone_name": "<bone_name>"
},
"name": "add_bone_constraint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bone_name | Yes | ||
| target_name | No | ||
| armature_name | Yes | ||
| constraint_type | No | TRACK_TO |