Tool Definition and Schemas Quiz
5 questions Pass: 70% +25 pts (50 with Pro)
Quiz covering Tool Integration
What you'll be asked
- What is the primary purpose of providing a JSON schema when defining a tool for an LLM?
- When defining a tool, why is it considered best practice to include a detailed 'description' field for each parameter?
- You are defining a tool to fetch weather data. The API requires a 'zip_code' as a string. Which schema definition is most appropriate?
- If an LLM consistently fails to provide a required argument for your tool, what is the most effective way to fix this in the tool definition?
- You are designing a tool that accepts an optional 'unit' parameter which can only be 'celsius' or 'fahrenheit'. How should you define this in the schema to ensure the model follows the constraint?
Answers and explanations come after you submit.
Course Content
Godlike Exams
No GH-600 practice exam yet
Your points already work on 76 Amazon, CompTIA and Microsoft exams.
See the exams