70 items
Defining a Tool JSON Schema
Code QuizCost and Latency of Multi-Turn Tool Use
Slides / VideoSecurity Risks of Tool Execution
Slides / VideoError Handling and Retries in Agent Loops
Slides / VideoAgent Frameworks Overview
Slides / VideoStopping Conditions and Max Iterations
Slides / VideoAgent Memory and State Across Steps
Slides / VideoMulti-Step Task Decomposition by Agents
Slides / VideoCommon Tool Types for LLM Agents
Slides / VideoTools vs Functions vs Agents
Slides / VideoAgent Reasoning Loops: The ReAct Pattern
Slides / VideoWhat an LLM Agent Is
Slides / VideoStructured Output via Function Calling
Slides / VideoHandling Invalid or Hallucinated Tool Arguments
Slides / VideoControlling Tool Choice
Slides / VideoParallel and Multiple Tool Calls
Slides / VideoThe Full Function Calling Loop
Slides / VideoReturning Tool Results Back to the Model
Slides / VideoExecuting the Function in Your Code
Slides / VideoParsing the Model's Tool Call Response
Slides / VideoToken Cost of Tools and Loops
QuizThe Tool Message Role
QuizReturning Tool Results
QuizStructured Output vs Function Calling
QuizForcing Tool Choice
QuizParallel Tool Calls
QuizMulti-Step Function Loop
QuizParsing Call Arguments
QuizReading the Tool Call
QuizHow the Model Decides to Call
QuizPassing Tool Definitions
QuizWriting Function Descriptions
QuizJSON Schema for Parameters
QuizDefining a Tool Schema
QuizWhy LLMs Need Tools
QuizWhat Function Calling Is
QuizExecuting the Function
QuizStopping Conditions
QuizHandling Hallucinated Calls
QuizSecurity Risks of Tool Calls
QuizWhat an LLM Agent Is
QuizError Handling and Retries
QuizThe ReAct Loop
QuizAgents vs Function Calling
QuizCommon Agent Tools
QuizAgent Memory and State
QuizAgent Frameworks Overview
QuizHow the Model Decides to Call a Tool
Slides / VideoPassing Tool Definitions in an API Request
Slides / VideoTool Definitions and JSON Schema
Slides / VideoWhat Function Calling Is and Why It Exists
Slides / VideoSending tool results back
Code QuizBuilding the tool-call loop
Code QuizParsing tool call arguments
Code QuizParameter types and required fields
Code QuizPassing the tools array
Code QuizForcing a specific tool_choice
Code QuizDetecting a tool call
Code QuizExecuting the local function
Code QuizAppending the tool result message
Code QuizHandling parallel tool calls
Code QuizPreventing infinite loops
Code QuizDispatching tool names to handlers
Code QuizReturning tool errors to the model
Code QuizValidating arguments against allowed values
Code QuizPreserving the assistant tool_calls message
Code QuizDistinguishing final vs tool response
Code QuizMatching tool_call_id to result
Code QuizHandling malformed arguments
Code QuizWriting function descriptions
Code QuizHandling Hallucinated Calls
Models can invent nonexistent tools or invalid arguments, so validate before executing.
How should your code handle a tool call that names a nonexistent function or has invalid arguments?