You are designing a tool schema for a function that looks up shipping estimates. Which schema design choice best improves reliability?

Answer

Define parameter types and constraints (e.g., required fields, formats)

Explanation

Strong typing and constraints help the model call the tool with correctly formatted arguments, reducing tool-call errors.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list