File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ async def get_prompts() -> dict[str, ListPromptsResult]:
1919
2020
2121@router .post ("/{prompt_name}" )
22- async def get_prompt (prompt_name : str , args : dict [str , str ] = {}) -> GetPromptResult :
22+ async def get_prompt (prompt_name : str , args : dict [str , Any ] = {}) -> GetPromptResult :
2323 """Evaluate a prompt"""
2424
2525 client = await ClientManager .get_client_from_prompt (prompt_name )
Original file line number Diff line number Diff line change 1+ from typing import Any
12from fastapi import APIRouter , HTTPException
23from mcp_bridge .mcp_clients .McpClientManager import ClientManager
34from mcp .types import ListToolsResult , CallToolResult
@@ -18,7 +19,7 @@ async def get_tools() -> dict[str, ListToolsResult]:
1819
1920
2021@router .post ("/{tool_name}/call" )
21- async def call_tool (tool_name : str , arguments : dict [str , str ] = {}) -> CallToolResult :
22+ async def call_tool (tool_name : str , arguments : dict [str , Any ] = {}) -> CallToolResult :
2223 """Call a tool"""
2324
2425 client = await ClientManager .get_client_from_tool (tool_name )
You can’t perform that action at this time.
0 commit comments