Nothing sent yet.
| Order | Total | Before | After |
|---|---|---|---|
| 1042 | $310.00 | $0.00 | $0.00 |
Chapter 6 of 7
When tools go wrong
The assistant can now refund money, so every mistake costs: from the model, from a request, or from text someone planted in data it reads.
This chapter: What stops a tool call that should not run?
About this chapter
You will learn
- How an approval gate puts a person in front of every call that changes data
- How a narrow permission limits the harm of a call that does run
- How text inside a tool result can steer the model, and what protects you either way
Words you’ll meet
- Approval gate
- A rule in the host: calls that change data wait for a person to approve or deny them.
- Least privilege
- Giving a tool only the power its job needs, such as a limit on how much one refund can be.
- Prompt injection
- Instructions hidden in data the model reads, such as a customer note, written to make it do something else.
- Ledger
- The order system’s record of every refund: where any damage shows.
Step 1 of 9
A customer wants a refund. Now an holds every call that changes data until a person decides.
Run the request.