ray_cast
Perform ray casting from a given origin and direction, returning the hit object, normal, and face index within a specified distance.
Instructions
从 origin 沿 direction 发射线,返回命中对象/位置/法线/面索引。
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": {
"origin": "<origin>",
"direction": "<direction>"
},
"name": "ray_cast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | ||
| distance | No | ||
| direction | Yes |