# Text

The text labeling tool allows you to ask labelers open-ended questions.

{% hint style="info" %}
The Text tools are supported across the Audio, Image, Video, DICOM, Medical, PDF, Text, LLM, and Markdown labeling editors.
{% endhint %}

![](/files/-Mk6OvmP4dnkyAGA9-N6)

### How to add a Text tool to your project <a href="#how-to-add-a-text-tool-to-your-project" id="how-to-add-a-text-tool-to-your-project"></a>

From the project’s *Settings* tab, enter the *Label Set* section.

Click on *Add Category*. From the list that appears, click on *Text*.

A new row will appear named *Text*. Click on it to expand it.

<figure><img src="/files/e9xEwCiTNg9HuEjvHHC3" alt="" width="563"><figcaption></figcaption></figure>

### Text Tool Options

**Schema ID**: The unique ID assigned to the tool.

**Title**: The name of your labeling tool.

**Required**: If you enable this toggle, labelers will be required to answer this field before saving.

**Regex Validation**: If you enter a regular expression in this field (without the initial and final `\` slashes), labelers' answers to this field will have to match the regex being input before saving.

**Rich Text Editor**: If enabled, the user will not see a plain text field, they will instead see a rich text editor where they can make text bold, italic, add images, and more. This is then stored and served in the export as HTML.

**KaTeX Preview**: If enabled, you may have annotators see a live preview of KaTeX, a mathematical subset of LaTeX:

<figure><img src="/files/wD2kq1QbNrHqn1pauACB" alt="" width="375"><figcaption></figcaption></figure>

**Frame-specific**: If you enable this toggle, the answer to this classification will only be valid for one frame (in videos and multi-frame images/DICOMs) instead of the whole asset.

**Multiple**: If enabled, annotators can answer this classification multiple times.

Once you have selected your options, click on *Save* at the bottom to save your changes.


---

# 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://docs.imerit.net/labeling/labeling-tools/classification-tools/text.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.
