xr_manage
Set up OpenXR player rigs, inspect XRServer tracking status, and generate startup scripts for AR/VR projects in Godot.
Instructions
AR/VR OpenXR Rigging, Controller Setup, and XRServer Tracking Status.
Ops:
scaffold_xr_rig(parent_path="", rig_name="XROrigin3D") Scaffold complete OpenXR player hierarchy (origin, camera, left/right controllers).
get_xr_status() Inspect XRServer active interfaces, tracking status, and OpenXR availability.
generate_xr_startup_script(save_path="res://scripts/xr_initializer.gd") Generate an OpenXR initialization bootstrap script.
Canonical call shape: {"op": "<verb>", "params": {...}}. Flat op parameters are accepted as a compatibility alias when the client transmits them; op and session_id remain top-level.
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": {
"op": "<op>"
},
"name": "xr_manage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| params | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||