Option B matches the documented prerequisites for reusing an existing UiPath Agent as a tool inside another agent.
UiPath supports agent composition by allowing one agent to invoke another published agent. This provides a mechanism for combining specialized capabilities without expanding every agent's responsibilities into a single complex definition.
Before an existing agent can be selected as a tool, it must be published and deployed as a process to a shared Orchestrator folder.
The calling agent can then access the deployed agent through the Agents tab in the Add Tool interface, subject to the applicable access permissions.
When the deployed agent is added, UiPath automatically exposes its input and output schemas, including supported file-based arguments.
These schemas provide the calling agent with a structured interface for passing information and interpreting results.
Option A is incorrect because mentioning an agent in a prompt does not create a deployable, callable tool.
Option C incorrectly rejects the published-process lifecycle. Option D introduces a manual execution requirement that UiPath does not specify.
For production implementations, developers should additionally define clear tool descriptions, input validation, error behavior, and invocation conditions so the calling agent understands when delegation is appropriate.
Official UiPath references/topics: Agents — Tools — Agents — Adding Published Agents as Tools.
Submit