raycast
Cast a ray in the workspace to detect collisions and retrieve hit information. Specify origin, direction, and filters to refine the search.
Instructions
Cast a ray in workspace and return hit information
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": "raycast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Ray origin point | |
| direction | Yes | Ray direction vector | |
| filterType | No | Filter type (default: Exclude) | Exclude |
| filterPaths | No | Optional: instance paths to include/exclude from raycast |