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.
Este ejercicio forma parte del curso
Claude Code in Action
Instrucciones del ejercicio
- Start Claude Code with
claude. - Ask Claude to read
script.py, run it, and explain the output. - Type
/exitto exit Claude Code.
ejercicio interactivo práctico
Convierte la teoría en práctica con uno de nuestros ejercicios interactivos
Empezar ejercicio