Validating Tool Inputs and Outputs — AI Engineering: Building Production LLM Applications — Hackademy