Available tools
| Tool | Description |
|---|---|
read_file | Read the complete contents of a file. Supports text files and images (jpg, png, gif, webp). |
read_multiple_files | Read several files in one call — more efficient than sequential read_file calls. |
write_file | Create or overwrite a file with new content. Creates parent directories automatically. |
edit_file | Make find-and-replace edits to an existing file without rewriting the entire content. |
list_directory | List files and directories at a given path. |
directory_tree | Recursive tree view of a directory as a JSON structure. |
search_files_content | Search for text or regex patterns across files. |
create_directory | Create one or more directories (including nested structures). |
remove_directory | Remove one or more empty directories. |
Configuration
Options
When
true, ignores .gitignore patterns and includes all files in listings and searches.Commands to run automatically after any file is edited or written.
Glob pattern that determines which files trigger this command (e.g.
*.go, src/**/*.ts).Shell command to run. Use
${file} to reference the absolute path of the edited file.Post-edit hooks
Automatically format or lint files after the agent edits them:Example agent
agent.yaml
Security considerations
Related
Shell
Execute commands alongside file operations.
LSP
Add code intelligence on top of filesystem access.
Permissions
Control which file operations require confirmation.
Configuration
Full toolset configuration reference.