list_tool_rest_api

This commit is contained in:
Ishaan Jaff 2025-03-29 17:55:37 -07:00
parent eb4b8d9e7d
commit c24470ee72

View file

@ -224,7 +224,7 @@ if MCP_AVAILABLE:
############ MCP Server REST API Routes #################
########################################################
@router.get("/tools/list", dependencies=[Depends(user_api_key_auth)])
async def list_tool_rest_api() -> List[ListMCPToolsRestAPIResponseObject]:
async def list_tool_rest_api():
"""
List all available tools with information about the server they belong to.