OpenAISoftware Engineer · OnsiteCodemia practiceTool Registry That Validates Model-Generated Function Call Arguments
Design classes for a registry of tools that a chat model can call. Given a call with a tool name and a JSON string of arguments produced by the model, look up the tool, validate the arguments against its schema, run it, and return a structured result or a clear error the model can recover from.
Medium
Software Engineering Fundamentals