AGENTS · LESSON 35 OF 278

Tool Use

Let an agent use constrained external capabilities instead of guessing.

What you will learn

Let an agent use constrained external capabilities instead of guessing.

In simple words

Tools connect an agent to systems such as search, databases, calendars, or code execution. A good tool contract clearly defines what the agent may call, what inputs are valid, and what result returns.

Visual explanation: The right tool for the job

The agent selects a constrained tool, receives an observation, then decides what to do next.

WATCH THE IDEA

The right tool for the job

Playing
Agentdecides nextGoalTool callObservation
  1. 1Observe: Goal
  2. 2Transformation: Tool call
  3. 3Outcome: Observation

Observe: Goal. The agent selects a constrained tool, receives an observation, then decides what to do next.

The diagram highlights Goal, Tool call, Observation. Use the labels to trace the main relationship from left to right.

Real-world example: IT service desk

An agent looks up device status, creates a ticket, or resets a password through approved APIs.

What the team decides: Use typed, permissioned tools with validated inputs and explicit outcomes.

Risk to avoid: Letting a model invent API calls creates reliability and security problems.

Technical explanation

Tools connect an agent to systems such as search, databases, calendars, or code execution. A good tool contract clearly defines what the agent may call, what inputs are valid, and what result returns.

Common misconception

This concept is not a guarantee of a correct outcome by itself. Its value depends on suitable evidence, careful implementation, and evaluation against the real task.

QUICK QUIZ

When should an agent prefer a tool call over generating an answer from memory?

Practical application

Use typed, permissioned tools with validated inputs and explicit outcomes.

Key takeaway

Tools turn language decisions into verified actions.

Next concept

Continue with Planning.

Was this lesson helpful?

Lesson discussion

Comments are reviewed before publication. Keep discussion focused on learning and do not post private information.

Loading discussion…

Your quiz answer and current lesson are saved on this device. Sign in to explore account-backed learning features.

Content version 1 · Last reviewed 2026-10-16