Load a scenario
twin_load_scenarioLoad a named or custom YAML scenario into a local API twin to set up test state, faults, auth, and timeline, returning the updated status.
Instructions
Throw away the current world and build one from a scenario: a ready-made one by name (see twin_list_scenarios), or your own YAML (seed, startTime, world, faults, auth, timeline). Give one of the two. A scenario that doesn't load leaves the twin as it was. twin_reset comes back to its start. Answers with the new status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A ready-made scenario's name, like flaky-apis | |
| yaml | No | A whole scenario as YAML, instead of a name |