Unreal Raycast
unreal_raycastCast a ray in Unreal Engine to detect objects between two points and return collision hit results.
Instructions
Perform a line trace (raycast) in Unreal and return hit results.
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": {
"start": "<start>",
"end": "<end>"
},
"name": "unreal_raycast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | Yes | Trace start point. | |
| end | Yes | Trace end point. | |
| traceChannel | No | Trace channel. | Visibility |
| traceComplex | No | Trace against complex collision. | |
| timeoutMs | No | Command timeout. |