@salesforce/agents
    Preparing search index...

    Function readTranscriptEntries

    • Read and parse the last conversation's transcript entries from JSON. Path: /.sfdx/agents/conversations//history.json

      Parameters

      • agentId: string

        The agent's API name (developerName)

      Returns Promise<TranscriptEntry[]>

      Array of TranscriptEntry in file order (chronological append order).