smartobject_add_slot
Add a slot with position, rotation, and gameplay tags to a SmartObject definition asset. Returns updated slot details and warnings after saving.
Instructions
Add a slot to a SmartObject definition.
Args: definition: SmartObject definition asset path or object path. slot_name: Editor display name for the slot. offset: Slot offset [x, y, z] in definition space. rotation: Slot rotation [pitch, yaw, roll]. activity_tags: Gameplay tags describing slot activities. runtime_tags: Initial runtime tags for the slot. enabled: Initial enabled flag. save: Save the asset after mutation.
Returns: Structured JSON with added slot details, tag warnings, and slot count.
KB: see knowledge_base/23_MASS_ENTITY_AND_STATETREE.md#mcp-mass-statetree-and-smartobject-tools Example: smartobject_add_slot(definition="/Game/AI/SmartObjects/SO_CoverPoint", slot_name="LeftPeek", offset=[0, -60, 0])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| offset | No | ||
| enabled | No | ||
| rotation | No | ||
| slot_name | No | Slot | |
| definition | Yes | ||
| runtime_tags | No | ||
| activity_tags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |