Sanity Library Reference Docs
    Preparing search index...

    Everything a tool call needs from its host: the engine to operate on. The engine is the boundary — nothing in this module or the tool defs constructs one, reads the environment, or assumes an identity or transport; that all lives in the host layer.

    Identity is the token behind the engine's client (/users/me) — a host that should act as someone else supplies an engine over their token, and declares itself via the engine's executionContext.

    interface WorkflowToolContext {
        engine: Engine;
    }
    Index

    Properties

    Properties

    engine: Engine