overte_script_inject
Inject JavaScript to govern an Overte entity's behavior. Provide the entity UUID and script URL, with optional metadata, to apply custom in-world interactions.
Instructions
Inject a JavaScript script to govern behavior of an in-world entity.
Live when the Overte bridge WebSocket client is connected; otherwise returns a clearly labeled simulated confirmation.
Return Format
{"success": bool, "message": str, "data": {"source": str, "script": {...}}}
Examples
overte_script_inject(entity_id="abc-123-def", script_url="https://example.com/behavior.js") overte_script_inject(entity_id="abc-123-def", script_url="https://example.com/click.js", script_data={"color": "red"})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No | ||
| entity_id | Yes | Overte target entity UUID. | |
| script_url | Yes | JavaScript behavior script URL. | |
| script_data | No | Metadata parameters to inject into the script scope. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||