manage_cameras
Auto-generated from the Python tool registry. Do not hand-edit outside
<!-- examples:start --><!-- examples:end -->blocks — the generator (tools/generate_docs_reference.py) will overwrite them.
Group: camera · Module: services.registry.capability_adapter
Maturity: stable (support status; independent of enabled state, readiness and permissions).
Description
Create or list cameras, select targets and configure lenses or priority. For a read-only inventory, call inspect_scene_cameras or read mcpforunity://scene/cameras.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
action | Literal['create_camera', 'list_cameras', 'set_target', 'set_priority', 'set_lens'] | yes | Feature action to perform. |
target | str | None | — | Target camera (name, path, or instance ID). |
search_method | Literal['by_id', 'by_name', 'by_path'] | None | — | How to find target. |
properties | dict[str, Any] | str | None | — | Action-specific parameters (dict or JSON string). |
unity_instance | str | int | None | — | Target Unity instance for this call: Name@hash or hash prefix; an integer selects only that exact port over stdio and is rejected over HTTP. Read mcpforunity://instances for available targets. Omit to use the legacy active selection or the sole available instance. |
Returns
A dict containing the Unity response. The exact shape depends on the action.
Examples
List the cameras the connected Editor can inspect. Use returned names or stable references to choose the camera for a later operation.
MCP arguments
{
"action": "list_cameras"
}