EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...

    Function _parseResultPayload

    • Parse the text payload of an MCPToolResult as JSON, returning undefined when the payload is missing or malformed. Small helper used by the unavailable-envelope detectors below.

      Parameters

      Returns Record<string, unknown> | undefined

      Parsed JSON object, or undefined if the payload is not a JSON object