Segment an object (advanced)
scene_segmentSegment objects in 3D scans using a click point and view selection. Passes raw request body to the SAM-3 endpoint for precise segmentation.
Instructions
SAM-3 click segmentation (POST /segment). Advanced: the body must match the server contract (click point + view selection — see routes_sam3d.py / the OS UI). Provided as a raw passthrough so the full surface stays reachable.
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": {
"scan_id": "<scan_id>",
"body": "<body>"
},
"name": "scene_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Raw request body for the segment route | |
| scan_id | Yes |