Function mergeExternalToolRegistries