viewport_configure
Configure a SubViewport's rendering options including transparent background, input handling, update mode, and multisample anti-aliasing (MSAA).
Instructions
Configure rendering options for a SubViewport.
Category: Viewport
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) viewport_path: Path to the viewport node transparent_bg: Whether to use a transparent background handle_input_locally: Whether to handle input locally render_target_update_mode: Update mode (Disabled, Once, WhenVisible, WhenParentVisible, Always) msaa: MSAA mode (Disabled, 2x, 4x, 8x)
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>",
"viewport_path": "<viewport_path>"
},
"name": "viewport_configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| viewport_path | Yes | ||
| transparent_bg | No | ||
| handle_input_locally | No | ||
| render_target_update_mode | No | ||
| msaa | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |