Claude uses tools!
A small statistics script (script.py) sits in your working directory at /home/repl/tool-demo/.
Ask Claude to do two things in one prompt: read the file and run it. As Claude responds, you should see it call and use different tools.
Cet exercice fait partie du cours
<cours>Claude Code in Action</cours>Instructions de l’exercice
- Start Claude Code with
claude. - Ask Claude to read
script.py, run it, and explain the output. - Type
/exitto exit Claude Code.
Exercice interactif pratique
Transformez la théorie en action avec l’un de nos exercices interactifs
Commencer l’exercice