🔥 3-day streak
Microsoft Azure AI Apps and Agents Developer Associate53 / 146
Question 53 of 146

You are defining a function tool schema for a Foundry agent that books meeting rooms. The tool accepts a 'building' parameter, but your organization only has three valid buildings (North, South, East). During testing, the model occasionally invents building names like 'West Tower' that do not exist, causing the function to fail. Without changing the underlying function code, what is the most effective way to prevent the model from passing invalid building values?

Reviewed for accuracy · Report an issueNext question