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.
Bài tập này là một phần của khóa học
Claude Code in Action
Hướng dẫn bài tập
- Start Claude Code with
claude. - Ask Claude to read
script.py, run it, and explain the output. - Type
/exitto exit Claude Code.
Bài tập tương tác thực hành
Biến lý thuyết thành hành động với một trong các bài tập tương tác của chúng tôi
Bắt đầu bài tập