How to retrieve input values from a widget in Agent Builder

I created a widget in Agent Builder that includes an input field and a submit button.
When a user enters a value and clicks the submit button, how can I retrieve the value from the input field in my tool or backend?

I’d like to understand how the input data is passed to the backend (for example, via the tool arguments or context), or if I need to define a specific schema or handler to receive it.

Thanks in advance for your help!

1 Like

I’m facing the same issue. Did you manage to solve it?

1 Like

I’m having the same problem here. It would be great to get an answer.