get_package_dependencies
Identify direct and transitive dependencies for any ROS2 package, plus reverse dependencies, with optional type filtering.
Instructions
Get a package's dependencies (from package.xml) and, conversely, which
packages depend on it. depend_types filters to a subset of
depend/build_depend/exec_depend/test_depend/buildtool_depend (default: all).
transitive=True walks the full dependency closure instead of one hop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transitive | No | ||
| depend_types | No | ||
| package_name | Yes | ||
| workspace_root | No |