save_scenario
Validate and store a scenario manifest under a given name for later replay. Provide the manifest JSON and a short name to persist it as a file.
Instructions
Validate and persist a scenario manifest for later replay.
Args:
manifest_json (str): JSON string of a :class:ScenarioManifest.
name (str): Short name to save under (stored as scenarios/<name>.json).
Returns:
dict: {"saved": True, "path": ...} on success, or
{"saved": False, "error": ...} if validation failed.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| manifest_json | Yes | ||
| name | Yes |