create_level
Create a new level in the current O3DE project and open it in the editor, choosing a level name and optional template prefab.
Instructions
Create a new level in the current O3DE project and open it in the editor.
Args:
name: Level name (alphanumeric, hyphens or underscores, starting with
a letter). The level is written to <project>/Levels/<name>/.
template: Level template prefab, as a path relative to an asset scan
folder. Defaults to the editor's own New Level default,
Prefabs/Default_Level.prefab (camera, sun, grid). Pass an empty
string for a bare level with no entities.
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": {
"name": "<name>"
},
"name": "create_level"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| template | No | Prefabs/Default_Level.prefab |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |