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.
Это упражнение является частью курса
Claude Code in Action
Инструкции к упражнению
- Start Claude Code with
claude. - Ask Claude to read
script.py, run it, and explain the output. - Type
/exitto exit Claude Code.
Практическое интерактивное упражнение
Превратите теорию в практику с помощью одного из наших интерактивных упражнений
Начать упражнение