Learn · Module 08 · Prompting and context · Lesson 4 of 6
Tools and constraints
A model can't check the weather or look up an order. Tools let it ask your code to do those things.
In short
- Tool use lets the model request actions; your code decides whether to run them.
- Clear names, descriptions and errors make tool choice reliable.
- Enforce permissions and confirmations in code, not in the prompt.
This lesson is part of Pro
The first two lessons of every module are free. Pro opens every lesson and every project.
See Pro plansFrom ₹119 a month. No auto-renewal.