Lesson 9 9 min

Pick the right tool

Trace a pretend agent choosing a tool and reading its result.

Learning goal

I can match a tool to a step and check that its result answers the goal.

How it works

An agent may choose tools while it works toward a goal. A tool is a specific action it has permission to use, such as reading a calendar or preparing a draft. The tool result is information the agent can check before deciding what to do next.

Think of it like this

Think of a librarian picking a shelf list to locate a book. The list fits that task. An agent has a set of tools people give it. It cannot safely treat every action as an option.

Worked example

A fictional Marble Club helper needs today’s meeting time. Its tools are Read Calendar, Draft Note, and Put on Board. It chooses Read Calendar because the goal is to find information. When the result says “Marble Club: today, 3:15”, it checks the club and date match the request. It gives the time and stops without making a post.

What to remember

Pick the tool for the current step. Read the result and check it against the goal.

  1. GoalFind the meeting time on the club calendar.
  2. Tool choiceRead Calendar can look up a time.
  3. Use the result“3:15 today” answers the question.
A tool should match the step the helper needs to finish.

Key words

Agent
A system that can work toward a goal in steps, sometimes using tools. People decide which tools it can use and which actions need approval.
Reliable source
Information you have good reason to trust for a particular question. A library’s own current notice is a good source for its hours.
More AI Agents lessons

Activity

Trace a tool choice

Materials Paper slips labelled Read Calendar, Draft Note, and Put on Board.

  1. Set the goal “Find today’s pretend Marble Club meeting time.” Pick one tool and explain why it matches.
  2. Write the result “Marble Club: today, 3:15.” Have a partner act as the agent and say what it found.
  3. Try a new calendar slip dated yesterday. Decide whether it answers today’s question and what the agent should tell a person.

Talk it through A missing or old result means the agent should report uncertainty. Drafting a note cannot fix a missing fact.

Quick check

1. Which tool should the agent use first?
Answer and explanation

Read Calendar. The task is a lookup. Reading the calendar gives the agent the relevant information.

2. The tool only returns yesterday’s time. What should the agent do?
Answer and explanation

Say it cannot confirm today’s time. The returned date prevents the agent from confirming the current meeting time.