measure_distance
Calculate the minimum distance between two CAD bodies and report whether they are separate, touching, intersecting, or contained.
Instructions
Minimum distance between two bodies and how they collide (none/touch/intersect/ contained).
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": {
"body_a": "<body_a>",
"body_b": "<body_b>"
},
"name": "measure_distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body_a | Yes | Body id or unique name. | |
| body_b | Yes | Body id or unique name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||