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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scenario_id": "<scenario_id>",
"platform_name": "<platform_name>"
},
"name": "add_weapon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario_id | Yes | ||
| platform_name | Yes | ||
| weapon_type | No | wsf_missile | |
| weapon_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |