overte_entity_spawn
Spawns virtual objects or 3D models in Overte at specified coordinates, with configurable type, scale, position, and optional script attachment.
Instructions
Spawn a virtual object or 3D GLB model in-world at the specified coordinates.
Live when scripts/overte-mcp-bridge.js is connected to the FastAPI WS hub; otherwise returns a clearly labeled simulated confirmation.
Return Format
{"success": bool, "message": str, "data": {"source": str, "entity": {...}}}
Examples
overte_entity_spawn(name="MyBox") overte_entity_spawn(name="Tree", entity_type="Model", model_url="https://example.com/tree.glb", position=[10, 0, -5])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No | ||
| name | Yes | Name of the entity to spawn. | |
| type | No | Entity type: Box, Sphere, Web, or Model. | Box |
| scale | No | X, Y, Z dimensions. | |
| position | No | X, Y, Z translation coordinates. | |
| model_url | No | GLB/FBX model resource URL if type is Model. | |
| permanent | No | If True, entity persists across domain-server restarts (lifetime=-1). | |
| script_url | No | Optional JavaScript behavior script URL to attach. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||