CodeFizz
ToolsDemoDocsBlogRoadmapChangelogPricingCompareFAQ
Get the plugin

Getting Started

  • Introduction
  • Quick Start
  • Requirements
  • Installing the CLI
  • License & Machines

Guides

  • Installing the Plugin
  • The AI Skill
  • CLI vs MCP
  • Multiple Editors
  • How It Works
  • Discovering Commands
  • The Editor Chat Panel
  • Image Generation (OpenRouter)
  • Play Testing and Packaging
  • Agent Safety: Busy Editor, Jobs and Rollback
  • Token Cost: CFA Bench

Walkthroughs

  • Build a Blueprint with AI
  • Author a Material Graph
  • Create a Niagara System
  • Rig a Character with AI
  • Build an Animation Blueprint
  • Build Sound with AI
  • Build a Modular Character
  • Grow a Tree with AI
  • Build a Gameplay Ability System
  • Generate a Landscape with AI
  • Work with World Partition

Reference

  • Reference
  • Audio
  • Mutable
  • Control Rig
  • Niagara
  • PCG
  • Procedural Vegetation
  • Materials
  • Gameplay Ability System
  • World Building
  • Behavior Trees
  • Environment Queries
  • StateTree
  • Sequencer
  • Level Actors
  • Project Settings
  • Blueprints
  • Blueprint Structs and Enums
  • Enhanced Input
  • Asset Management
  • Bulk Asset Ops
  • Data Assets
  • Object Properties
  • UMG Widgets
  • Data Tables
  • Curves
  • Retargeting
  • Skeletal Meshes
  • Static Meshes
  • Animation
  • Chooser Tables
  • Motion Matching
  • UAF (Animation Framework)
  • Console Commands
  • Revision Control and Asset Diff
  • Profiling
  • Packaging and Devices
  • Play Session
  • Testing
  • C++ Builds
  • Project Index
  • Editor UI
  • Image Generation
  • Core
  • Debug
  • Mass Entity (ECS)

Help

  • FAQ
  • Troubleshooting
  • For AI Agents
  • Fix: Plugin failed to load, module could not be loaded (GetLastError 126)
  • Fix: bridge unreachable, editor not responding
  • Fix: cfa targeted the wrong Unreal editor
  • Fix: the CodeFizz panel does not show Active
  • Fix: Unknown command, or plugin version mismatch after an update
DocsReferenceConsole Commands

Console Commands

List, inspect, and execute Unreal console commands and cvars. Unreal Engine 5 command reference with parameters and examples.

Loading…
PreviousUAF (Animation Framework)NextRevision Control and Asset Diff
CodeFizz

A drop-in Unreal Engine 5 plugin that exposes the entire editor surface (Blueprints, Materials, Niagara, PCG, StateTree, Control Rig, Insights profiling, and more) over the Model Context Protocol. Connect Claude Code, Cursor, VS Code, or any MCP-compatible client and let your AI build inside the engine.

Product

  • Features
  • Docs
  • Tools
  • Blog
  • Demo
  • Roadmap
  • Changelog
  • Pricing
  • Compare
  • FAQ

Resources

  • Install guide
  • Discord
  • YouTube
  • Open-source edition
  • Manage subscription

Legal

  • Refund Policy
  • Privacy Policy
  • Terms of Service

© 2026 CodeFizz. All rights reserved.

CodeFizz Editor Agent is a CodeFizz product. Payments processed by Polar Software, Inc. (Polar), the Merchant of Record.

9 commands. Each shows its parameters and an example, and has a copyable deep link, so you (or an AI agent) can jump straight to one.

list_console_commands

List engine + custom console commands and cvars (filterable)

Enumerates every console command and cvar registered with IConsoleManager, engine builtins, plugin commands, and any RegisterConsoleCommand call from game code show up identically. Filter is a case-insensitive substring (engine's ForEachConsoleObjectThatContains). Empty filter enumerates everything (~5000+ entries). Use this for discovery before guessing a command name. include_help adds the same help text the in-editor console autocomplete shows. include_values adds current cvar values via IConsoleVariable::GetString. type_filter narrows to commands or variables only.

ParameterTypeRequiredDescription
filterstringNoCase-insensitive substring; empty = enumerate all
max_resultsintNoCap on returned entries; 0 = unlimited
include_helpboolNoAdd help text per entry
include_valuesboolNoAdd current value per cvar
type_filterstringNoall | command | variable (anything else is refused)
example
  cfa list_console_commands --filter "pcg" --max-results 50 --include-help
  cfa list_console_commands --filter "r.Screen" --include-values
  cfa list_console_commands --filter "stat" --type-filter command --max-results 100
get_console_command_info

Full metadata for one console command or cvar by exact name

Looks up a single console object via IConsoleManager::FindConsoleObject. Returns help text, type (command vs variable), ECVF_* flags set on it, and the current value for cvars. Use list_console_commands first to find the exact name if unsure, this call is exact-match only.

ParameterTypeRequiredDescription
namestringYesExact console object name
example
  cfa get_console_command_info --name "r.ScreenPercentage"
  cfa get_console_command_info --name "DumpMassMemory"
console_command_exists

Boolean existence check (IConsoleManager registry only)

Single IConsoleManager::IsNameRegistered call against the ~10,000 cvars+commands registered with the IConsoleManager. IMPORTANT: this does NOT see engine FSelfRegisteringExec handlers, stat, show, Quit, Travel, Open, most Dump* and editor debug commands return exists=false here, but still execute fine through execute_console_command. The engine has no enumeration API for FExec handlers, so we cannot pre-check them. Practical rule: exists=true means it's safe; exists=false means try execute_console_command and trust exec_consumed as the truth signal.

ParameterTypeRequiredDescription
namestringYesExact console object name to test
example
  cfa console_command_exists --name "stat fps"
  cfa console_command_exists --name "r.MyMadeUpCvar"
execute_console_command

Execute any console command in the editor

Routes through GEngine->Exec with the active world (PIE if running, otherwise the editor world). Works for engine builtins, cvar sets, stat toggles, and any custom RegisterConsoleCommand handler. Set capture_logs=true for commands that report results via UE_LOG instead of writing to the output-device parameter, most stat/r./Mem/Show commands, RHI commands, scene-capture commands, and any custom command using UE_LOG. When capture_logs is on, FOutputDeviceRedirector::FlushThreadedLogs is called before detach so worker-thread logs reach the sink; a short warning is included noting other-thread log lines may appear in the window. Result fields: command_existed (IConsoleManager registry only, false for stat/show/Quit/etc.), exec_consumed (RELIABLE success signal, true if any handler took the command), handled_by_fexec_only (true when an FSelfRegisteringExec handler picked it up rather than IConsoleManager), ar_output (direct device writes), log_output (UE_LOG stream, only when capture_logs=true). COMMANDS WITH SIDE EFFECTS, confirmed from Engine/Private/UnrealEngine.cpp source: `help` writes Saved/ConsoleHelp.html AND launches it in the default browser via FPlatformProcess::LaunchURL on Windows (hardcoded #if WITH_EDITOR && PLATFORM_WINDOWS, no opt-out). Use list_console_commands instead, same data, zero side effects. `Quit`/`Exit` closes the editor. `Travel <map>`/`Open <map>` changes the loaded map. `RestartLevel` reloads PIE. `obj gc` forces GC. Safe alternatives to `help`: DumpCVars (cvars to log), DumpCCmds (commands to log), DumpConsoleCommands <prefix> (filtered to log), or the list_console_commands MCP tool (JSON, preferred).

ParameterTypeRequiredDescription
commandstringYesFull command string e.g. 'r.ScreenPercentage 80'
capture_logsboolNoTee GLog into capture sink during exec (needed for UE_LOG-based output)
flush_threadedboolNoFlush threaded logs before detaching capture sink (only when capture_logs=true)
example
  cfa execute_console_command --command "stat fps" --capture-logs
  cfa execute_console_command --command "r.ScreenPercentage 80"
  cfa execute_console_command --command "DumpMassMemory" --capture-logs
  cfa execute_console_command --command "show Collision"
set_cvar

Set a console variable with a type check, a read-back and a verdict

Sets a console variable the way typing it in the console does (console priority, the highest), then reads it back: the verdict fails when the variable clamps or rejects the value. A read-only variable is refused with where to set it instead (an ini file or the command line, then a restart); a console command is refused with execute_console_command; an unknown name lists close names. The value is checked against the variable's type (int, float, bool, string). The first value each variable had is remembered for this editor session, so reset_cvars puts it back.

ParameterTypeRequiredDescription
namestringYesConsole variable name, e.g. r.ScreenPercentage
valuestringYesNew value: a number, true/false (or 1/0) for bools, any text for strings
example
  cfa set_cvar --name r.ScreenPercentage --value 50
  cfa set_cvar --name t.MaxFPS --value 30
  cfa set_cvar --name ShowFlag.Fog --value 0
reset_cvars

Put back console variables that set_cvar changed

Sets each variable changed by set_cvar in this editor session back to the value it had before the first change, and reads it back with a verdict per variable. With no names it puts back every one.

ParameterTypeRequiredDescription
namesjsonNoJSON array of variable names to put back (default: every variable set_cvar changed)
example
  cfa reset_cvars
  cfa reset_cvars --names '["r.ScreenPercentage"]'
read_output_log

Read the output log, filtered by category, level and text

Reads the output log the editor keeps in memory: the newest 20,000 lines with their category and level, play sessions included. Filters: --category (part of the category name, e.g. LogAI), --verbosity (keep lines at this level or more severe: error, warning, display, log, verbose, veryverbose), --filter (text in the line), --since-seconds. The reply has the newest matching lines in time order as "<id> <seconds>s <Category> <Level>: <text>" (Log level is not written), how many matched, the error and warning counts, and last_id. To see only what a later action logs, pass that last_id back as --after-id.

ParameterTypeRequiredDescription
categorystringNoOnly lines whose category contains this text, e.g. LogAI
verbositystringNoOnly lines at this level or more severe: error, warning, display, log, verbose, veryverbose
filterstringNoOnly lines that contain this text (case ignored)
after_idintNoOnly lines after this id (the last_id of an earlier read)
since_secondsfloatNoOnly lines from the last N seconds (0 = no limit)
max_resultsintNoMost lines returned, the newest ones (at most 1000)
example
  cfa read_output_log --verbosity warning --max-results 20
  cfa read_output_log --category LogAI --since-seconds 30
  cfa read_output_log --after-id 18342
list_log_categories

List log categories and the level each logs at now

Lists the log categories the engine knows, engine and project, as "<name> <level>", from the engine's own log list command. Use it to find the category name for set_log_verbosity or read_output_log --category.

ParameterTypeRequiredDescription
filterstringNoOnly categories whose name contains this text
max_resultsintNoMost categories listed
example
  cfa list_log_categories --filter AI
  cfa list_log_categories --filter Net --max-results 30
set_log_verbosity

Set the level a log category logs at, with a read-back verdict

Sets a log category's level the way the log console command does (log <Category> <level>), then reads it back. Levels: none, error, warning, display, log, verbose, veryverbose, or default for the level it had when the editor started. A category compiled with a lower maximum level stays at that maximum and the verdict fails; on UE 5.7 and later the engine also logs an ensure for it. An unknown category lists close names. The change lasts until the editor closes.

ParameterTypeRequiredDescription
categorystringYesLog category, e.g. LogAI (list_log_categories lists them)
verbositystringYesnone, error, warning, display, log, verbose, veryverbose, or default
example
  cfa set_log_verbosity --category LogAI --verbosity verbose
  cfa set_log_verbosity --category LogNavigation --verbosity default