add_weapon
Add a weapon component to a specific platform in an AFSIM scenario. Specify the platform and weapon type to attach the weapon.
Instructions
Add a weapon component to a platform.
Parameters
scenario_id: UUID of the target scenario. platform_name: Name of the target platform. weapon_type: AFSIM weapon type (e.g. 'wsf_missile', 'wsf_bomb'). weapon_name: Optional name for the weapon component.
Returns
JSON with component metadata.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario_id | Yes | ||
| platform_name | Yes | ||
| weapon_type | No | wsf_missile | |
| weapon_name | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |