save_scenario
Save an AFSIM scenario to disk in AFSIM or JSON format. Specify scenario ID and optional file path.
Instructions
Save a scenario to disk.
Parameters
scenario_id: UUID of the scenario to save. file_path: Destination path. Defaults to scenarios/.afsim (or .json). format: 'afsim' (default) or 'json'.
Returns
JSON with the saved file path.
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>"
},
"name": "save_scenario"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario_id | Yes | ||
| file_path | No | ||
| format | No | afsim |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |