async def execute(
        self,
        document_id: str,
        options: Optional[dict[str, Any]] = None,
        *args,
        **kwargs,
    ):
        """
        Calls the content_method from context to fetch doc+chunk structures.
        """
        from core.base.abstractions import AggregateSearchResult

        # Use either provided context or stored context
        context = self.context

        # Check if context has necessary method
        if not context or not hasattr(context, "content_method"):
            logger.error("No content_method provided in context")
            return AggregateSearchResult(document_search_results=[])

        try:
            doc_uuid = UUID(document_id)
            filters = {"id": {"$eq": doc_uuid}}
        except ValueError:
            logger.error(f"Invalid document_id format received: {document_id}")
            return AggregateSearchResult(document_search_results=[])

        options = options or {}

        try:
            content = await context.content_method(filters, options)
        except Exception as e:
            logger.error(f"Error calling content_method: {e}")
            return AggregateSearchResult(document_search_results=[])

        result = AggregateSearchResult(document_search_results=content)

        if hasattr(context, "search_results_collector"):
            context.search_results_collector.add_aggregate_result(result)

        return result

        Calls the content_method from context to fetch doc+chunk structures.
        
py/core/base/agent/tools/built_in/get_file_content.py