distance
Measure the distance between two points or named bones in a frame, returning centimeters and b minus a within the pose scene.
Instructions
The distance between two points, cm, and b minus a in the frame.
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": {
"a": "<a>",
"b": "<b>"
},
"name": "distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | a name (a bone such as hand_l, a fingertip such as index_tip_l, a rig point such as port) or [x, y, z] in the frame | |
| b | Yes | a name (a bone such as hand_l, a fingertip such as index_tip_l, a rig point such as port) or [x, y, z] in the frame | |
| frame | No | gun: the gun bone, cm (+X gun's left, +Y barrel, +Z up); arms: the arms' space, cm; view: from the eye, cm (+X right, +Y forward, +Z up) | gun |