manage_camera
Control the camera in Roblox Studio: retrieve camera info, focus on an instance or position, get suggested views, and capture Edit-mode viewport screenshots.
Instructions
Camera operations: get info, focus on instance/position, suggest view, capture Edit-mode viewport screenshot (Edit mode only; not usable during playtest).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Camera action. info: get current camera position, rotation, FOV, viewport size. focus_path: move camera to focus on instance by path. focus_position: move camera to focus on world position. suggest: get suggested camera view for a target. [PRO] screenshot: **EDIT MODE ONLY — DO NOT call while a playtest is active.** Captures the current Studio Edit-mode viewport as a PNG image (returns MCP image content). If you are uncertain whether a playtest is running, call system_info.play_status first and only proceed when state == "edit"; otherwise the call returns an error. Requires "Allow Mesh / Image APIs" Studio setting (Game Settings > Security). Resolution capped by plugin setting screenshotMaxDimension (default 1024px on longest side; kept at full resolution by Claude while reducing token cost ~40% vs 1280). Play-mode capture is not supported in v1 because Roblox platform blocks converting CaptureService temporary contentId into EditableImage from any non-edit-DM context. | |
| path | No | Instance path to focus on. Used by: focus_path (if not provided, focuses on selection), suggest (if not provided, uses selection). | |
| position | No | World position to focus on as Vector3. Used by: focus_position (required). | |
| distance | No | Distance from target in studs. Used by: focus_path, focus_position. Auto-calculated if not provided. | |
| duration | No | Animation duration in seconds. Used by: focus_path, focus_position. Default: 0.5. | |
| offset | No | Camera offset direction from target (normalized and scaled by distance). Used by: focus_path, focus_position. Default: {x:1, y:0.5, z:1}. | |
| lookAt | No | Point for camera to look at. Used by: focus_position. | |
| respectAutoFocusSetting | No | If true, only focus when plugin Auto Focus setting is enabled. Used by: focus_path, focus_position. Default: false. |