← The syllabus

Module 07 · Tools

How models interact with the real world

The model requests. Another system acts.

What you’ll learn

Four ideas, one module

01

The tool loop

Describe, request, execute, return: who does each step.

02

Tools are ordinary code

Search, code execution, databases and APIs, run by your app.

03

Permissions by risk

Read, write, irreversible, never exposed: and the control for each.

04

MCP without the magic

An open protocol for connecting apps to tools and data.

Applied exercise

Design a travel assistant’s tools

Design the tool surface of a travel assistant and decide which capabilities should never be exposed directly.

  • Read tools
  • Write tools
  • Needs human confirmation
  • Never exposed to the model

Cheat sheet

The model only asks. Your code decides what runs, and with whose rights

One page you keep: the questions to ask on every project, the rules of thumb, and a checklist you can use on your own product. All ten come with The Book.

Leave at the door

Five myths this module breaks

MythWhat’s actually true
The model runs itYour application runs it. The model asks.
Tools reach anythingOnly the tools you define, within your limits.
Valid means correctWell-formed arguments can still be wrong.
The prompt forbids itInstructions are not permissions. Enforce in code.
MCP makes it smarterIt standardises connections. The model is unchanged.

Before you move on

Can you call this one?

It booked a hotel nobody asked for.

Name three causes. Which fix always works?

Portrait of Zane Imani

The Action Protocolist

Zane Imani

investigates the boundary where AI stops generating words and starts making things happen.

Episode 07 · How models interact with the real world

Included with the course.

An AI character from the show, not a real researcher.