replay_scenario
Replay a previously saved CARLA scenario by providing its name or file path. Executes the scenario and returns the result or error if loading fails.
Instructions
Load a previously saved scenario spec and execute it.
Args:
path (str): Saved scenario name or path (e.g. "demo" or
"scenarios/demo.json").
Returns:
dict: The execution result, or {"error": ...} if the spec could not
be loaded.
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": {
"path": "<path>"
},
"name": "replay_scenario"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |