Sandbox — LSD is in active testing. All systems operational·payments are test-mode (no real charges).
Overview Use Cases News Docs Tool Store Support Community Get LSD
All docs
Context· property

Context.engine

the live engine for the open project

Python
engine: Engine

Returns Engine — the live engine for the open project, or None

Example#

Python
@tool.command("demo/rerun")
def rerun(ctx: Context):
    result = ctx.engine.run("report")

Notes#

A lazily populated slot — None when no project/engine is available (for example in a headless run). See Engine for run, save, and the RunResult it returns.

See also#

API: project · Engine · Context

Guides: Commands & actions

By LSD Team · Last updated Jul 18, 2026 Ask on Discord View as Markdown