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

Agents, Tool Use & Product Post-Training1 / 7

Chapter 191 / 7

Agents, Tool Use & Product Post-Training

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

Easy
Target interface
validate_tool_call(call, schema)

Implement the function/class skeleton in the editor. Any correct approach is accepted.

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