add_bone_constraint
Add a pose-bone constraint to an armature bone to control animation through copy, track, limit, stretch, or child-of behavior.
Instructions
Add a pose-bone constraint (COPY_ROTATION, COPY_LOCATION, TRACK_TO, DAMPED_TRACK, LIMIT_ROTATION, STRETCH_TO, LIMIT_LOCATION, CHILD_OF...). target: an object name. properties: constraint properties by name.
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": "<armature>",
"bone": "<bone>",
"type": "<type>"
},
"name": "add_bone_constraint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bone | Yes | ||
| type | Yes | ||
| target | No | ||
| armature | Yes | ||
| properties | No |