This is the documentation of version 1.0.0-rc.0. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Variable getStateDigestConst

    getStateDigest: (state: ToolState) => StateDigest

    Takes a snapshot of the user-visible state surface. Call it after every assistant turn to record the "agent-known" baseline, and again before each user prompt to detect what changed since.

    Type Declaration