unreal_create_variant_set
Configurator (Variant Manager): create/extend a Level Variant Sets asset with a variant set for actor. variants: [{"name": "Red", "material": "/Game/Paint/MI_Red"}] (material slot 0) or [{"name": "Hidden", "visible": false}].
Instructions
Configurator (Variant Manager): create/extend a Level Variant Sets asset with
a variant set for actor. variants: [{"name": "Red", "material":
"/Game/Paint/MI_Red"}] (material slot 0) or [{"name": "Hidden", "visible":
false}]. Adds a LevelVariantSetsActor to the level so variants can be switched
at runtime and with unreal_activate_variant.
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": {
"asset_path": "<asset_path>",
"set_name": "<set_name>",
"actor": "<actor>",
"variants": "<variants>"
},
"name": "unreal_create_variant_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | ||
| set_name | Yes | ||
| variants | Yes | ||
| asset_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||