refine_scenario_from_prompt
Refine an existing AFSIM scenario using natural language prompts to add platforms, adjust duration, or make other modifications.
Instructions
Apply a natural language refinement to an existing scenario.
Supports:
Adding platforms: "add 2 more fighters"
Changing duration: "extend to 3 hours"
Parameters
scenario_id: UUID of the scenario to refine. refinement_prompt: Natural language description of the changes to make.
Returns
JSON with changes applied and updated platform count.
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>",
"refinement_prompt": "<refinement_prompt>"
},
"name": "refine_scenario_from_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario_id | Yes | ||
| refinement_prompt | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |