watsonx Orchestrate

 View Only

 How to get the current WxO user and Agent Name to pass to a tool?

Tat Seng Wong's profile image
Tat Seng Wong posted Sun September 07, 2025 09:18 PM

Hi all,

I would like to have a way to capture the user currently logged into WxO and the name of the WxO agent to pass to a tool during runtime as a header variable.

Is that possible?

As depending on the variable passed in, I can let the tool to behave differently, right now I couldn't do this, the one that is the closest is via Connection, but Connection also cannot tell the current logged in WxO user and current WxO agent name.

Thanks