---
featureId: cpp-code-editing-tools
title: C++ code editing tools for agent mode
area: C++
thumbnailImage: ../media/cpp-tools-list-thumbnail.png
description: C++ Code Editing Tools for GitHub Copilot Agent Mode are now available by default.

---


We're excited to share that C++ Code Editing Tools for GitHub Copilot Agent Mode are now generally available by default. These tools help Copilot navigate your C++ codebase more effectively when refactoring or modifying code.

With these tools enabled, Copilot can:

- Map out class inheritance hierarchies
- Follow function call chains

To get started:

1. Open a C++ project and ensure IntelliSense is configured.
2. Enable specific tools using the **Tools** icon in Copilot Chat.

![List of available C++ tools in Copilot Chat settings](../media/cpp-tools-list-2.png)

Once enabled, Copilot uses these tools automatically when answering questions or suggesting code changes.

![Copilot using C++ tools to analyze and modify code across multiple files](../media/class-hierarchy-highlight.png)

For best results, use AI models that support tool-calling. Learn more at [AI model comparison - GitHub Docs](https://docs.github.com/copilot/reference/ai-models/model-comparison)
