Validate a tool-call object against a JSON schema (required fields and types)

Agents: Tool Use and Post-Training1 / 7

Chapter 191 / 7

Agents: Tool Use and Post-Training

Validate a tool-call object against a JSON schema (required fields and types)

Easy
Target interface
validate_tool_call(call, schema)

Complete the starter code in the editor. Any correct approach is accepted.

Hints0 / 2
Reference solution
Your own code stays in the editor.