EU Parliament Monitor - API Documentation - v0.7.5
    Preparing search index...
    • Load pre-fetched comprehensive EP feed data from a JSON file on disk.

      Agentic workflows fetch EP data via framework MCP tools but the TypeScript generator cannot access those tools directly. The workflow saves the MCP results to a JSON file and the generator reads them via this function, avoiding the need to manually construct article HTML.

      The file must contain a JSON object with EP feed data keys. Missing keys default to empty arrays.

      Parameters

      • filePath: string

        Absolute or relative path to the JSON file

      Returns EPFeedData | undefined

      Parsed EPFeedData, or undefined on any error