@naveen.ch1
ideally you should be serializing it as Json and then pass the json text to agent
here is the doc
cheers