From e9d2227aea30e0d4013f99cab596308c243b95c5 Mon Sep 17 00:00:00 2001 From: Rmaram07 <115189855+Rmaram07@users.noreply.github.com> Date: Fri, 5 Dec 2025 16:17:32 -0800 Subject: [PATCH] Add download_file function to sessions_python_plugin --- .../core_plugins/sessions_python_tool/sessions_python_plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/semantic_kernel/core_plugins/sessions_python_tool/sessions_python_plugin.py b/python/semantic_kernel/core_plugins/sessions_python_tool/sessions_python_plugin.py index db3c3ca6fea8..dd6e89b66c5d 100644 --- a/python/semantic_kernel/core_plugins/sessions_python_tool/sessions_python_plugin.py +++ b/python/semantic_kernel/core_plugins/sessions_python_tool/sessions_python_plugin.py @@ -301,6 +301,7 @@ async def list_files(self) -> list[SessionsRemoteFileMetadata]: f"List files failed with status code {e.response.status_code} and error: {error_message}" ) from e + @kernel_function(name="download_file", description="Downloads a file from the current Session ID") async def download_file( self, *,