docs/ide-extensions/agent/how-it-works.mdx
Tools provide a flexible, powerful way for models to interface with the external world. They are provided to the model as a JSON object with a name and an arguments schema. For example, a read_file tool with a filepath argument will give the model the ability to request the contents of a specific file.
The following handshake describes how Agent mode uses tools:
user chat requestsAutomaticContinue includes several built-in tools which provide the model access to IDE functionality.
In Plan mode, only these read-only tools are available:
read_file)read_currently_open_file)ls)glob_search)grep_search)fetch_url_content)search_web)view_diff)view_repo_map)view_subdirectory)codebase_tool)In Agent mode, all tools are available including the read-only tools above plus:
create_new_file): Create a new file within the projectedit_existing_file): Make changes to existing filesrun_terminal_command): Run commands from the workspace rootcreate_rule_block): Create a new rule block in .continue/rules