@adcp/sdk API Reference - v10.0.1
    Preparing search index...

    Function hasAdvisorySuccessPayload

    • Top-level errors[] can be either a terminal Error arm or non-fatal advisory diagnostics on a Success/Submitted arm. Envelope-only fields (status, context, ext, version fields) do not prove success, so this requires per-tool success-field evidence or the universal submitted envelope. Completed payloads still flow through normal tool-schema validation after this check.

      Parameters

      • response: unknown
      • OptionaltoolName: string

      Returns boolean