Unity Catalog tool function with custom parameters not being used

Boban12335
New Contributor

I have created a UC tool that takes in a few custom STRING parameters. I gave this tool to an ai agent using the mosaic ai agent framework with hardcoded parameter values for testing. The issue is my ai agent hallucinates and injects its own ai generated output for the parameter values, ignoring the ones I set. How can I explicitly force the tool to use the parameters I gave it instead of having the llm inject its own responses

Nivethan_Venkat
Databricks MVP

Hi @Boban12335,

Can we get UC function definition to understand your problem better?

Best Regards,
Nivethan V