> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qodo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Built-in tools (MCPs)

<Badge color="deployment" size="sm" shape="pill">Enterprise</Badge>

<Note>
  Qodo IDE plugin, formerly Qodo Gen, brings local code review workflows to JetBrains and VS Code as part of the Qodo Platform.
</Note>

To understand your code better and help you perform various actions, Qodo uses multiple services and [Agentic Tools ](/qodo-ide/tools-mcps/agentic-tools-mcps)behind the scenes.

When using these tools, Qodo will let you know which tools are being used, and ask whether you **approve or deny** their usage.

<Frame>
  <img src="https://mintcdn.com/qodo/JM7O0sE7d8xjdl1v/images/qodo-ide/builtin-mcp-tools-panel.png?fit=max&auto=format&n=JM7O0sE7d8xjdl1v&q=85&s=f87d48dea7feb818b8292bd93f2a57b2" alt="Built-in MCPs panel showing Fetch URL tools expanded with fetch_html and fetch_markdown sub-tools" width="1000" height="1448" data-path="images/qodo-ide/builtin-mcp-tools-panel.png" />
</Frame>

The current internal tools Qodo uses are:

## Git service

Provides Git repository insights.

**Sub-tools:**

* `git_remote_url`: Gets the remote repository URL.
* `git_branches`: Lists all branches.
* `git_changes`: Shows uncommitted changes.
* `git_file_history`: Displays commit history for a file.

## Code navigation service

Analyzes and tracks code structure.

**Sub-tools:**

* `get_code_dependencies`: Finds dependencies for a function or class.
* `find_code_usages`: Identifies where a function, class, or variable is used.

## File system service

Manages files and directories.

**Sub-tools:**

* `read_files`: Read and return the full contents of a text file.
* `write_to_file`: Write content to a file. Creates the file if it doesn’t exist and ensures parent directories are also created. Switching this sub-tool off allows you to approve file changes one by one, or deny them.
* `replace_in_file`: Modify a file using a structured multi-block diff string.
* `directory_traversal`: Generate a recursive tree view of a directory.
* `search_files`: Search for a regex or string pattern across file contents within a directory.
* `get_file_info`: Retrieve metadata about a file or directory, including type, size, timestamps, and permissions.

## Terminal

Use terminal command line tools.

**Sub-tools:**

* `terminal_execute_command`: Runs a shell command, and returns its output.
* `terminal_get_latest_output`: Gets the latest output from a terminal. Response includes content with terminal output text.
* `terminal_terminate_command`: Terminates a running command. Response includes content with result message and isError flag indicating success or failure.

<Note>
  Due to a new Beta terminal introduced to JetBrains IDEs, some JetBrains IDE users might not be able to use the terminal tool initially.

  To enable the terminal tool, click the **...** icon above the in-IDE terminal. Select **Terminal Engine** from the dropdown, then select **Classic Terminal**.

  <Frame>
    <img src="https://mintcdn.com/qodo/JM7O0sE7d8xjdl1v/images/qodo-ide/builtin-terminal-engine-menu.png?fit=max&auto=format&n=JM7O0sE7d8xjdl1v&q=85&s=779c02ad009218499de1cf0f301de92a" alt="JetBrains terminal menu showing Terminal Engine option with Reworked 2025 Beta and Classic modes" width="900" height="481" data-path="images/qodo-ide/builtin-terminal-engine-menu.png" />
  </Frame>
</Note>

### Terminal commands allow list

In Qodo's [Chat Preferences](/qodo-ide/chat/chat-preferences), you can set a terminal commands allow list:

1. **Allowed commands**: Set terminal commands that the agent runs automatically without approval. All other terminal commands require approval.
2. **Blocked commands:** Set terminal commands that the agent automatically blocks.

<Frame>
  <img src="https://mintcdn.com/qodo/JM7O0sE7d8xjdl1v/images/qodo-ide/builtin-terminal-commands-config.png?fit=max&auto=format&n=JM7O0sE7d8xjdl1v&q=85&s=09aaf3f00faf0bf25bbacc3b00f679c1" alt="Terminal commands settings showing Allowed commands and Blocked commands configuration fields" width="688" height="491" data-path="images/qodo-ide/builtin-terminal-commands-config.png" />
</Frame>

## Web search

Performs web search.

Toggle by clicking the web search button.

<Frame>
  <img src="https://mintcdn.com/qodo/JM7O0sE7d8xjdl1v/images/qodo-ide/builtin-web-search-enabled.png?fit=max&auto=format&n=JM7O0sE7d8xjdl1v&q=85&s=3ecc5eeabdc2cb2587df1018bb6745ba" alt="Qodo Gen chat toolbar showing Web search is on notification with globe icon highlighted" width="300" height="206" data-path="images/qodo-ide/builtin-web-search-enabled.png" />
</Frame>
