snap_to_ground
Aligns an object's bounding-box bottom precisely to world Z=0 or a specified ground object, with optional vertical offset for exact placement.
Instructions
Aligns an object's bounding box bottom (Z_min) precisely to the ground surface (Z = 0 or the top of a specified ground object) with optional offset.
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_name": "<object_name>"
},
"name": "snap_to_ground"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Vertical offset added above ground surface in meters. | |
| task_id | No | ||
| approved | No | ||
| request_id | No | ||
| ground_name | No | Optional ground object name. If omitted, snaps to world Z = 0. | |
| object_name | Yes | Name of the target object to align. | |
| approval_token | No |