Overview
Agents can be equipped with file system capabilities to read, write, search, and edit files within a specified working directory. This enables code analysis, documentation generation, refactoring assistance, and other file-based operations. The agent determines which file operations to perform based on the task. Key concepts:UseFileTools: Capability that adds file system tools to the agent- Working directory: Root path for all file operations (security boundary)
- Available tools:
read_file,write_file,edit_file,list_dir,search_files - Multi-step execution: Agent reads files, analyzes content, and responds