bone_setTransform
Sets or keyframes a bone's position, angle, scale, flips, parent, or IK target at a chosen frame with optional interpolation.
Instructions
Set/keyframe a bone's position (x, y), angleDeg, scale, flipH/V, parentBoneId/Name, or targetBone/Name at a frame with optional interpolation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bone_setTransform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| hold | No | Frames to hold prior value before interpolating | |
| val1 | No | InterpSetting.val1 (relative cycle delta or noisy/bounce/elastic param) | |
| val2 | No | InterpSetting.val2 (absolute cycle target frame when >= 0, -1 for relative) | |
| flipH | No | ||
| flipV | No | ||
| frame | No | ||
| scale | No | ||
| boneId | No | Zero-based bone index inside the BoneLayer | |
| layerId | No | Numeric depth-first layer ID (from layer_list) | |
| stagger | No | ||
| angleDeg | No | ||
| boneName | No | Exact bone name | |
| colorTag | No | Keyframe color tag index (InterpSetting.tags) | |
| interval | No | Step interval in frames (1 = ones, 2 = twos, 3 = threes) | |
| cycleBack | No | Relative frame delta for Cycle interpolation (default: frame - 2, loops back to Frame 2) | |
| cycleMode | No | Cycle targeting mode: 'relative' (val1 delta, val2=-1) or 'absolute' (val2 frame) | |
| layerName | No | Exact layer name | |
| layerUuid | No | Layer UUID | |
| targetBone | No | IK target bone index (-1 to clear) | |
| parentBoneId | No | ||
| additiveCycle | No | Enable additive cycle accumulation | |
| bezierInAngle | No | Bezier incoming tangent angle (radians, InterpSetting:SetBezierInAngle) | |
| interpolation | No | ||
| bezierOutAngle | No | Bezier outgoing tangent angle (radians, InterpSetting:SetBezierOutAngle) | |
| parentBoneName | No | ||
| targetBoneName | No | IK target bone name ('' to clear) | |
| bezierInPercent | No | Bezier incoming handle percentage (InterpSetting:SetBezierInPercentage) | |
| bezierOutPercent | No | Bezier outgoing handle percentage (InterpSetting:SetBezierOutPercentage) | |
| cycleTargetFrame | No | Target loop frame when using Cycle interpolation |