add_constraint
Add a constraint to a Blender object, selecting from types such as copy location, rotation, scale, tracking, limits, IK, child of, floor, follow path, or clamp to.
Instructions
Add a constraint. Types: COPY_LOCATION, COPY_ROTATION, COPY_SCALE, TRACK_TO, DAMPED_TRACK, LOCKED_TRACK, LIMIT_LOCATION, LIMIT_ROTATION, LIMIT_SCALE, IK, CHILD_OF, FLOOR, FOLLOW_PATH, CLAMP_TO.
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": {
"object": "<object>",
"type": "<type>"
},
"name": "add_constraint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bone | No | ||
| name | No | ||
| type | Yes | ||
| object | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||