run
Execute a JavaScript cell in the Effect House eh kernel to drive the open editor through its eh API, enabling live scene, script, asset, and preview changes.
Instructions
Run a JavaScript cell in the Effect House eh kernel, which drives the open editor through a pre-connected eh API. The kernel is not available right now; call instances to see why.
(Bridge note: Effect House must be open. instances shows the editor the next cell uses; launch opens it.)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Cell source. Exactly one of `code` or `path`. | |
| name | No | Optional save name for the cell. | |
| path | No | Path of an existing .mjs cell to run. | |
| timeoutMs | No | Per-cell timeout in milliseconds. |