godot_cast_ray_3d
Cast a 3D ray between two points in Godot and retrieve collision data. Supports collision masks, node exclusion, and optional detection of areas or bodies.
Instructions
Perform 3D raycast query against PhysicsDirectSpaceState3D.
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": {
"params": "<params>"
},
"name": "godot_cast_ray_3d"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |