camera_add
Add a Camera2D or Camera3D node to a Godot scene, specifying parent path and optionally making it the active camera.
Instructions
Add a camera node to a scene.
Category: Camera
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) parent_node_path: Path to the parent node camera_name: Name for the new camera node camera_type: Type of camera (Camera2D or Camera3D, default: Camera2D) make_current: Whether to make this the current/active camera (default: True)
Returns: Success message or error description
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| parent_node_path | Yes | ||
| camera_name | Yes | ||
| camera_type | No | Camera2D | |
| make_current | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |