UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Last updated May 7, 2026

uip rpa-legacy type-definition

uip rpa-legacy type-definition inspects any .NET type from a project's dependencies — enum values, properties, methods, constructors, and base types. Useful when an activity returned by find-activities takes an argument whose type you need to construct or interpret.

Windows-only — see the overview warning.

Synopsis

uip rpa-legacy type-definition <project-path> --type <name> [options]
uip rpa-legacy type-definition <project-path> --type <name> [options]
  • <project-path> (required) — Path to project.json or the folder containing it.

Options

FlagDescription
--type <name>Full or simple name of the type to inspect.
--timeout <seconds>Timeout in seconds for the operation.

Examples

# Inspect a .NET enum used by a project
uip rpa-legacy type-definition ./MyProject/project.json --type System.DayOfWeek

# Inspect a UiPath activity argument type by full name
uip rpa-legacy type-definition ./MyProject \
    --type UiPath.Core.Activities.ClickActivity

# Inspect a type by simple name with a longer timeout
uip rpa-legacy type-definition ./MyProject --type Selector --timeout 120
# Inspect a .NET enum used by a project
uip rpa-legacy type-definition ./MyProject/project.json --type System.DayOfWeek

# Inspect a UiPath activity argument type by full name
uip rpa-legacy type-definition ./MyProject \
    --type UiPath.Core.Activities.ClickActivity

# Inspect a type by simple name with a longer timeout
uip rpa-legacy type-definition ./MyProject --type Selector --timeout 120

See also

  • Synopsis
  • Options
  • Examples
  • Related
  • See also

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated