gas_apply_effect
Apply a GameplayEffect to a Blueprint asset at a specified level, and add an AbilitySystemComponent automatically if the Blueprint lacks one.
Instructions
Record a default GameplayEffect application on a Blueprint and ensure an ASC.
Args: target_bp: Blueprint asset name/path receiving the effect metadata. effect: GameplayEffect asset path or class path. level: Default effect level. ensure_asc: Add an AbilitySystemComponent if the Blueprint lacks one.
KB: see knowledge_base/19_GAMEPLAY_ABILITY_SYSTEM.md#mcp-gas-tools Example: gas_apply_effect(target_bp="/Game/BP_Hero", effect="/Game/GAS/Effects/GE_StartupStats")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | ||
| effect | Yes | ||
| target_bp | Yes | ||
| ensure_asc | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |