gas_grant_ability
Record a GameplayAbility grant on a Blueprint and ensure an AbilitySystemComponent exists.
Instructions
Record a default GameplayAbility grant on a Blueprint and ensure an ASC.
Args: target_bp: Blueprint asset name/path receiving the grant metadata. ability: GameplayAbility asset path or class path. level: Default grant level. input_id: Optional legacy input id. Use -1 when tag/input binding handles activation. ensure_asc: Add an AbilitySystemComponent if the Blueprint lacks one.
KB: see knowledge_base/19_GAMEPLAY_ABILITY_SYSTEM.md#mcp-gas-tools Example: gas_grant_ability(target_bp="/Game/BP_Hero", ability="/Game/GAS/Abilities/GA_Dash")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | ||
| ability | Yes | ||
| input_id | No | ||
| target_bp | Yes | ||
| ensure_asc | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |