Tools: the contract between model and world
Choose an option and select “Check”. Your answers are saved only in this browser.
5 questions in this chapter do not have a published answer key yet.
Question 1
What is the main function of a tool’s schema?
Answer key not published yet.
Question 2
Why should validation reject fields not declared in the schema?
Answer key not published yet.
Question 3
A tool raises FileNotFoundError. What should the harness do?
Answer key not published yet.
Question 4
Why is truncating output at the source better than truncating in the harness?
Answer key not published yet.
Question 5
A tool returns a report as a PDF. What is the best way to return the result to the agent?
Answer key not published yet.