AI Agent tool error - does not show input

Here is a workflow example of how I use a set node to normalize the input to the AI Agent.

Hope this helps.