From d244ed4178e0ea268ac4264e04886d01c6c59e53 Mon Sep 17 00:00:00 2001 From: Jimin Lim Date: Fri, 30 Jan 2026 02:07:01 +0900 Subject: [PATCH] Fix: return type contract violation and docstring typo --- src/rodin_mcp/rodin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rodin_mcp/rodin.py b/src/rodin_mcp/rodin.py index b46447b..4961771 100644 --- a/src/rodin_mcp/rodin.py +++ b/src/rodin_mcp/rodin.py @@ -95,12 +95,12 @@ async def download_file(client: httpx.AsyncClient, url: str, file_path: str, ret @server.tool() async def try_download_result( parameters: DownloadRequestParameters -) -> str | tuple[str, Optional[MCPImage], str]: +) -> str | tuple[Optional[MCPImage], str]: """ This tool will try to download the generated assets if the Rodin completed the generation task. [Notes] - - Always make sure an absolute path is given bu the user before calling this tool. + - Always make sure an absolute path is given by the user before calling this tool. - The tool expects a directory for the download_to_path parameter. - The tool will download files to {download_to_path}/{uuid}/ directory - So when giving example, don't include the filename