Learn Claude Code
s02

Tools

Tools & Execution

The Loop Didn't Change

115 LOC4 toolsTool dispatch map
Adding tools means adding handlers, the loop stays the same

Architecture

No classes in this version (functions only)
bashread_filewrite_fileedit_file

What's New

New Tools

read_filewrite_fileedit_file

New Functions

  • def safe_path()
  • def run_read()
  • def run_write()
  • def run_edit()

LOC Delta

+34 lines

Try It Live

Design Decisions