execute_console_command
Execute Unreal Engine console commands and optionally capture their output. Useful for changing rendering settings or toggling developer overlays.
Instructions
Run a UE console command (e.g. 'stat fps', 'r.ScreenPercentage 50') and optionally capture its output. Executes on the game thread in the editor world context.
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": {
"command": "<command>"
},
"name": "execute_console_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Console command string to execute. | |
| capture_output | No | When true (default), captures and returns the command output. When false, output flows to the normal Output Log. |