Read node parameters in description: INodeTypeDescription

			displayName: 'Endpoint',
			name: 'endpoint',
			type: 'options',
			options: getEndpointOptions('{{ $parameter["endpointCollection"] }}'),
			default: '',
			displayOptions: {
				show: {
					operation: ['employee'],
				},
			},
			description: 'Endpoints related to operation',
		}```

I have this property that im trying to pass in a function that returns options of the selected endpointCollection
However i dont know if there is a better way of reading the parameters in the properties array
or if there is a better way of loading option. The option cant use the displayOptions because they are a lot and it reached limit If there is away please help