def list_files(self) -> List[RemoteFileMetadata]:
        """
        List the files in the session.

        Returns:
            List[RemoteFileMetadata]: The metadata for the files in the session

        """
        access_token = self.access_token_provider()
        api_url = self._build_url("files")
        headers = {
            "Authorization": f"Bearer {access_token}",
        }

        response = requests.get(api_url, headers=headers)
        response.raise_for_status()

        response_json = response.json()
        return [
            RemoteFileMetadata.from_dict(entry["properties"])
            for entry in response_json["value"]
        ]

        List the files in the session.

        Returns:
            List[RemoteFileMetadata]: The metadata for the files in the session

        
llama-index-integrations/tools/llama-index-tools-azure-code-interpreter/llama_index/tools/azure_code_interpreter/base.py