wb_live_raycast
Casts rays through World Builder’s live scene intersection system to detect geometry, using the current first-person camera or a custom origin and direction.
Instructions
Raycast through World Builder's live scene intersection system; camera mode uses the current FPP camera.
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": {
"rpc_dir": "<rpc_dir>"
},
"name": "wb_live_raycast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| dir_x | No | ||
| dir_y | No | ||
| dir_z | No | ||
| rpc_dir | Yes | ||
| timeout | No | ||
| origin_x | No | ||
| origin_y | No | ||
| origin_z | No | ||
| use_physical | No |