ue5_run_console_command
Run console commands in a live Unreal Engine 5 editor session to control CVars, stats, levels, and actor spawning while preventing destructive operations.
Instructions
Execute a console command in the running UE5 editor session. Use for stat commands, CVars, level operations, actor spawning, etc. Destructive commands (quit, open, exit) are blocked.
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": "ue5_run_console_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The console command string, e.g. "stat fps" |