When using function calling/tool use with a model, what is the best way to reduce the chance of incorrect or unsafe tool actions?

Answer

B) Validate tool parameters in your application and restrict allowed operations

Explanation

Application-side validation and restricting allowed operations create a safer boundary around tool execution. Allowing unconstrained inputs increases risk.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list