gas_add_tag
Adds a GameplayTag to a Blueprint asset and automatically creates an AbilitySystemComponent if the Blueprint lacks one, ensuring GAS tag metadata is recorded.
Instructions
Record an owned GameplayTag on a Blueprint and ensure an ASC.
Args: target_bp: Blueprint asset name/path receiving the tag metadata. tag: Gameplay tag such as Ability.Movement.Dash or State.Stunned. ensure_asc: Add an AbilitySystemComponent if the Blueprint lacks one.
KB: see knowledge_base/19_GAMEPLAY_ABILITY_SYSTEM.md#mcp-gas-tools Example: gas_add_tag(target_bp="/Game/BP_Hero", tag="Ability.Movement.Dash")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| target_bp | Yes | ||
| ensure_asc | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |