Explore Library
AI Engineering / Working with LLMsFunction Calling, Tools & Agents

95 items

1

Defining a Tool JSON Schema

Code Quiz
2

Cost and Latency of Multi-Turn Tool Use

Slides / Video
3

Security Risks of Tool Execution

Slides / Video
4

Error Handling and Retries in Agent Loops

Slides / Video
5

Agent Frameworks Overview

Slides / Video
6

Stopping Conditions and Max Iterations

Slides / Video
7

Agent Memory and State Across Steps

Slides / Video
8

Multi-Step Task Decomposition by Agents

Slides / Video
9

Common Tool Types for LLM Agents

Slides / Video
10

Tools vs Functions vs Agents

Slides / Video
11

Agent Reasoning Loops: The ReAct Pattern

Slides / Video
12

What an LLM Agent Is

Slides / Video
13

Structured Output via Function Calling

Slides / Video
14

Handling Invalid or Hallucinated Tool Arguments

Slides / Video
15

Controlling Tool Choice

Slides / Video
16

Parallel and Multiple Tool Calls

Slides / Video
17

The Full Function Calling Loop

Slides / Video
18

Returning Tool Results Back to the Model

Slides / Video
19

Executing the Function in Your Code

Slides / Video
20

Parsing the Model's Tool Call Response

Slides / Video
21

Token Cost of Tools and Loops

Quiz
22

Handling Hallucinated Calls

Quiz
23

What an LLM Agent Is

Quiz
24

The ReAct Loop

Quiz
25

Agents vs Function Calling

Quiz
26

Common Agent Tools

Quiz
27

Agent Memory and State

Quiz
28

Stopping Conditions

Quiz
29

Returning Tool Results

Quiz
30

The Tool Message Role

Quiz
31

Agent Frameworks Overview

Quiz
32

Error Handling and Retries

Quiz
33

Security Risks of Tool Calls

Quiz
34

What Function Calling Is

Quiz
35

Why LLMs Need Tools

Quiz
36

Defining a Tool Schema

Quiz
37

JSON Schema for Parameters

Quiz
38

Writing Function Descriptions

Quiz
39

Passing Tool Definitions

Quiz
40

How the Model Decides to Call

Quiz
41

Reading the Tool Call

Quiz
42

Parsing Call Arguments

Quiz
43

Multi-Step Function Loop

Quiz
44

Parallel Tool Calls

Quiz
45

Forcing Tool Choice

Quiz
46

Structured Output vs Function Calling

Quiz
47

Executing the Function

Quiz
48

How the Model Decides to Call a Tool

Slides / Video
49

Passing Tool Definitions in an API Request

Slides / Video
50

Tool Definitions and JSON Schema

Slides / Video
51

What Function Calling Is and Why It Exists

Slides / Video
52

Forcing a specific tool_choice

Code Quiz
53

Validating arguments against allowed values

Code Quiz
54

Building the tool-call loop

Code Quiz
55

Writing function descriptions

Code Quiz
56

Handling malformed arguments

Code Quiz
57

Matching tool_call_id to result

Code Quiz
58

Handling parallel tool calls

Code Quiz
59

Parsing tool call arguments

Code Quiz
60

Distinguishing final vs tool response

Code Quiz
61

Parameter types and required fields

Code Quiz
62

Returning tool errors to the model

Code Quiz
63

Dispatching tool names to handlers

Code Quiz
64

Preventing infinite loops

Code Quiz
65

Sending tool results back

Code Quiz
66

Passing the tools array

Code Quiz
67

Appending the tool result message

Code Quiz
68

Executing the local function

Code Quiz
69

Detecting a tool call

Code Quiz
70

Preserving the assistant tool_calls message

Code Quiz
71

Stopping Conditions and Limits

Flashcard
72

Parsing the Tool Call Response

Flashcard
73

Agent Frameworks Overview

Flashcard
74

Executing and Returning Results

Flashcard
75

Parallel Function Calls

Flashcard
76

Handling Call Errors

Flashcard
77

Structured Output via Function Calling

Flashcard
78

What an LLM Agent Is

Flashcard
79

Planning and Task Decomposition

Flashcard
80

Security Risks of Tool Execution

Flashcard
81

Why LLMs Need Tools

Flashcard
82

Passing Tools in a Request

Flashcard
83

The Full Function Calling Loop

Flashcard
84

Tool Choice Control

Flashcard
85

Writing Effective Tool Descriptions

Flashcard
86

The ReAct Pattern

Flashcard
87

Agent Memory and State

Flashcard
88

The Agent Loop

Flashcard
89

Multi-Tool Orchestration

Flashcard
90

Function Calling vs RAG vs Fine-Tuning

Flashcard
91

Cost and Latency of Agent Loops

Flashcard
92

What Function Calling Is

Flashcard
93

Defining a Tool Schema

Flashcard
94

Describing Parameters and Types

Flashcard
95

How the Model Picks a Tool

Flashcard
QuizIntermediate

Agent Frameworks Overview

Frameworks like LangChain and LlamaIndex provide abstractions for building agents and tools.

What is the main purpose of agent frameworks such as LangChain or LlamaIndex?