Tool calling fundamentals

You describe the functions, the model chooses one and supplies arguments, your code executes it. The description of each tool matters as much as the prompt.

Lesson 3.131m 14sIntermediate18.2k students

Chapters

31:14
  1. 0:00What is Tool/Function Calling?
  2. 3:09Defining Custom Tools
  3. 5:51LLM Tool Response
  4. 8:20Executing Tools
  5. 12:59Additional Tool Behavior
  6. 14:45Advanced Tools with Pydantic Schemas
  7. 17:53Executing Advanced Tools
  8. 19:58Universal Tools and Functions
  9. 20:57Defining Models & Tools w/LangChain
  10. 22:42Binding Tools w/LangChain
  11. 24:27Executing Tools w/LangChain
  12. 26:56Tools & LLMs as Agents
  13. 27:40Tool Calling Agent
  14. 29:13ReAct Agent
  15. 30:47Outro

What this lesson covers

  • Describe a tool so the model uses it correctly
  • Execute the call and feed the result back
  • Validate arguments before executing anything

This lesson sits in Tool Calling and Agents, part of Building AI Apps with LLMs. It assumes what came before it and leads directly into the next lesson in the module.

In this lesson you will

  • Describe a tool so the model uses it correctly
  • Execute the call and feed the result back
  • Validate arguments before executing anything

Resources