game_viewport
Create or configure Godot SubViewport nodes to set size, MSAA, transparency, and parent placement; inspect existing viewports when needed.
Instructions
Create or configure a SubViewport node
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "game_viewport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| msaa | No | MSAA level (0=disabled, 1=2x, 2=4x, 3=8x) | |
| name | No | Viewport name (for create) | |
| width | No | Viewport width | |
| action | No | Action: create, configure, or get | |
| height | No | Viewport height | |
| nodePath | No | SubViewport path (for configure/get) | |
| parentPath | No | Parent path (for create) | |
| transparentBg | No | Transparent background |