camera_set_current
Sets a specified camera node as the active camera in a Godot scene.
Instructions
Set a camera as the current/active camera.
Category: Camera
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) camera_path: Path to the camera node
Returns: Success message or error description
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": {
"project_path": "<project_path>",
"scene_path": "<scene_path>",
"camera_path": "<camera_path>"
},
"name": "camera_set_current"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| camera_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |