ue_console_command
Execute Unreal Editor console commands and capture new log output for diagnostics, settings, and developer tools.
Instructions
Esegue un comando della console dell'editor e restituisce ciò che stampa.
I comandi di console non restituiscono valori: scrivono nel log. Questo tool misura il log prima e dopo e riporta solo le righe nuove, altrimenti la risposta sarebbe "fatto" e nient'altro.
Utile per stat unit, r.ScreenPercentage 50, showflag.*, DumpConsoleCommands.
Passa dall'interprete Python dell'editor, non dal gate
bAllowConsoleCommandRemoteExecution della Remote Control API, che resta
spento: da qui si può fare tutto quello che si fa dalla console, quit
compreso.
Args: command: il comando, es. "stat fps". wait_seconds: quanto attendere che il motore scriva nel log.
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": "ue_console_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| wait_seconds | No |