# Overview

Models that support tool calls can extend their capabilities beyond just chatting. Tools will appear as separate messages in the chat window, displaying a preloader while the tool is being executed and an orange checkmark when the execution is complete.&#x20;

<figure><img src="/files/Q2yJ1SHQMbCyPPD4njlM" alt=""><figcaption><p>The model is executing the <strong>Set active directory</strong> tool</p></figcaption></figure>

<figure><img src="/files/fXwyaO8FGNj82byDu57d" alt=""><figcaption><p>The model has finished executing the <strong>Set active directory</strong> tool</p></figcaption></figure>

<details>

<summary>Models that support tools</summary>

**OpenAI**:

* GPT-4o mini
* GPT-4o
* GPT-4 Turbo
* GPT-3.5 Turbo

**Anthropic**:

* Claude 3.5 Sonnet
* Claude 3 Sonnet
* Claude 3 Opus
* Claude 3 Haiku

**Google**:

* Gemini 1.5 Pro
* Gemini 1.5 Flash
* Gemini 1.0 Flash

**Groq**:

* Llama 3.1 70b
* Llama 3.1 70b

</details>

{% hint style="info" %}
OpenAI API key is required for **Search in Files** and **Extract Web Content** tools.
{% endhint %}

## Using the Tools

There is no need to explicitly specify which tool the model should use. The model will attempt to infer the appropriate tool based on the context of the conversation and the content of your prompt.

<figure><img src="/files/WCOcbEYxpLvuSswbYWSZ" alt=""><figcaption></figcaption></figure>

## Available Tools

### Set Active Directory

Sets the active directory, where the chat can manipulate files.

### Get Active Directory

Retrieves the active directory if set.

### Run Command

Executes bash command.

### Create File

Creates a text based file. If the active directory is set it will also create the file in it

### Read File

Reads an entire file from the generated fragments, knowledge files or the active directory if set.

### List Files

Lists all files in the generated fragments or knowledge files.

### Search in Files

Searches throught the knowledge files for relevent information and use it as context.

### Generate Image

Generates an image using the selected image model.

### Memorize

Memorizes a piece of information making it always available in the context. You can manage the memorized snipets from the Chat Settings Panel.

### Extract Web Content

Tries to extract relative text content from a web page.

### Search Web

Performs a web search. **(Spawns assistant)**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://macdocs.supgpt.app/tools/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
