I can't see output field in my simple tool

    def getParameterInfo(self):
    """Define parameter definitions"""

    param0 = arcpy.Parameter(
        name="Input Features",

    param1 = arcpy.Parameter(
        name="Output Features",

    param1.parameterDependencies = [param0.name]
    param1.schema.clone = True

    parameters = [param0, param1]

    return parameters

I doesn't pass rest of code (toolbox object ...) because I didn't inject there any changes.

enter image description here

What can cause this problem? I used *.pyt.

  • To qualify as a code snippet that potential answerers can copy/paste to see what you have tried and where you are stuck, I think you should expand the code presented so that it includes everything in your test Python Toolbox.
    – PolyGeo
    Commented Mar 13, 2018 at 23:08
  • 1
    Have you added your parameter to the script tool? It's no good just talking about a 2nd parameter if you haven't added it to the tool in the toolbox. Commented Mar 14, 2018 at 0:06
  • @MichaelStimson I think the asker is using a Python Toolbox tool (*.pyt) rather than a Python script tool in a standard toolbox (*.tbx).
    – PolyGeo
    Commented Mar 14, 2018 at 5:12
  • Sorry guys, I was very tired. I want to read output FIELD not file xD. I hava a problem, beacouse I add seceond filed as Output Field but my arcMap not show me this field.
    – Bocian
    Commented Mar 14, 2018 at 6:44
  • Yeah i used *.pyt
    – Bocian
    Commented Mar 14, 2018 at 6:47

1 Answer 1


From the ArcGIS help:


Can be Required, Optional, or Derived. Derived means that the user of your tool does not enter a value for the parameter. Derived types are always output parameters.

Instead use:

direction='Output', parameterType='Required'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.