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.
This exercise is part of the course
Claude Code in Action
Exercise instructions
- Start Claude Code with
claude. - Ask Claude to read
script.py, run it, and explain the output. - Type
/exitto exit Claude Code.
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise