get_camera_frame
Capture a frame from the XREAL RGB camera for computer vision and AR development, with options to save to file and include metadata.
Instructions
Captures a frame from the XREAL RGB camera for computer vision or AR development. Returns image data or saves to a file. Useful for debugging image tracking and mixed reality features.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_camera_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Image format for saved file | PNG |
| filePath | No | Custom file path to save the image. If not provided, saves to Assets/CapturedFrames/ | |
| cameraType | No | Type of camera data to capture | RGB |
| resolution | No | Resolution of captured frame | Full |
| saveToFile | No | Save the captured frame to a file | |
| includeMetadata | No | Include camera intrinsics and pose in response |