Mcp Server Refresh Tools
MCP Server
Mcp Server Refresh Tools
Manually refresh tools cache for a native MCP server. Only works for native servers (public/private), not Apigene servers.
Args: server_id: The ID of the MCP server current_user: The current authenticated user tenant: The tenant database
Returns: Dict with refresh status and tool count
Raises: HTTPException(404): If MCP server not found HTTPException(400): If server is Apigene type HTTPException(511): If OAuth required HTTPException(500): If refresh fails
