[GIS] How to set .gdb as Python script tool parameter

arcpyfile-geodatabaseparameterspython-script-tool

I was thinking the Geodataset (as shown in figure 1) would be the right choice if I want to use .gdb as a parameter when using script tool, but it didn't work since I couldn't add my gdb to the box, shown in figure 2. What is the right parameter type I should use here?
enter image description here

enter image description here

Using 10.3.1 ArcGIS Advance License.

Best Answer

The parameter you need is: workspace

Related Question