| sidebar_position | 1 |
|---|
CodeGPT's internal tools comprise a set of functionalities that enable the AI assistant to interact with the file system and execute commands within the user's environment. These tools are designed to facilitate development, code exploration, and automation of common tasks.
CodeGPT offers three pre-configured profiles to match different use cases:
- No tools enabled
- Questions and answers only
- Read-only tools
- Search and read your codebase to find relevant code snippets from the structure to the content
- All tools enabled (Create, delete, edit file, and run terminal)
- Includes write and execution tools
- The active profile determines which tools are available to the assistant. Agent mode is the most powerful but also requires more user supervision.
Before using tools, you need to configure them in the settings menu:
- Go to the Settings menu in CodeGPT
- Navigate to the Tools section
- Enable the tools you want to use
- Choose between Enabled and Auto-Approve modes:
- Enabled: You control when tools are executed
- Auto-Approve: Tools are executed automatically based on context
CodeGPT includes several built-in tools to enhance your development experience:
Code Search: Search codebase for similar code patterns and functions using semantic analysisRead File: Retrieve content from a specific file in the codebaseView Folder Structure: Display project folder hierarchy and file structureCreate File/Folder: Create new files or directories in the codebaseDelete File: Remove files from the codebase with confirmationRun Terminal Command: Run terminal commands for builds, tests, and system operationsEdit File: Modify existing file content with precise changesUpdate ToDo List: Manage project tasks, bugs, and feature requests
:::note Security Considerations
- Tools that modify the file system (
Create File/Folder,delete file,Edit File) or execute commands (Execute Terminal Command) are potentially dangerous and should be used with caution. - The system implements a limit of 20 auto-approvals for potentially dangerous operations, after which manual user approval is required.
- Commands that could compromise system security should never be executed, such as deleting critical directories or running unknown scripts.
- It's recommended to always review proposed changes before approving them, especially when dealing with modifications to existing files. :::
:::caution Important Note About Tool Compatibility
Tools only work with specific models that support function calling capabilities. If you select a model from the "Providers and Models without Tools" section, the tool functionality will not be available. Ensure you select a model from the "Providers and Models with Tools" section to access the full range of CodeGPT's tool features. :::
This table shows providers that offer development tools along with their compatible models.
-
Anthropic
-
OpenAI
-
Gemini
-
OpenRouter
-
Bedrock
-
Grok
-
Groq
-
DeepSeek
-
Mistral
-
Claude Code
-
Azure
-
Nvidia
-
Cohere
-
Gemini CLI
-
Perplexity
-
Cerebras
-
Byteplus
:::caution Our list of providers includes a wide variety of models; however, some may not function properly with certain tools or integrations. If you try a model and notice that it’s not working as expected, please reach out to our support team at support@codegpt.co to assist you. :::
