raxol_start
Start a headless Raxol session by providing a module name or example script path, and receive a session ID for driving Elixir terminal UIs.
Instructions
Starts a headless Raxol session. Accepts either a module name (atom) or a file path to an example script. Returns the session ID.
Examples: {"module": "RaxolDemo"} {"path": "examples/demo.exs", "id": "demo"} {"module": "RaxolDemo", "width": 120, "height": 40}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Session identifier (default: derived from module name) | |
| path | No | File path to an example script (e.g. "examples/demo.exs"). Mutually exclusive with module. | |
| width | No | Screen width in columns (default: 120) | |
| height | No | Screen height in rows (default: 40) | |
| module | No | Module name as a string (e.g. "RaxolDemo"). Mutually exclusive with path. |