generate_uclass
Create Unreal Engine C++ class files (header and source) following UE conventions, with configurable options for module, parent class, and Blueprint support.
Instructions
Generate a UClass following Unreal Engine conventions. Creates header and source files for a basic C++ class.
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": {
"className": "<className>"
},
"name": "generate_uclass"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | Config category (e.g., 'Game', 'Engine') | |
| module | No | Module name. Default: 'YourProject' | |
| abstract | No | Whether this is an abstract class | |
| className | Yes | Name of the class (e.g., 'AMyActor', 'UMyObject') | |
| parentClass | No | Parent class (e.g., 'AActor', 'UObject'). Default: 'UObject' | |
| blueprintType | No | Whether this class can be used as a Blueprint type | |
| blueprintable | No | Whether Blueprints can be derived from this class |