> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/plugins-and-integrations/unreal-engine/guides/actions-guide/stage-2-custom-actions/adding-descriptions-to-actions.md).

# Adding Descriptions to Actions

### Overview

This document details the process for adding descriptions to actions within Convai characters, improving AI understanding and action execution. Action descriptions provide contextual information, aiding in more accurate and contextually appropriate behaviors.

### Why Add Action Descriptions?

Action descriptions offer contextual hints to the AI, helping determine when and how to trigger actions based on gameplay and conversation scenarios, enhancing the gaming experience through more accurate AI responses.

### How to Add Descriptions to Actions

1. **Identify the Action**: Determine the action needing a description, such as "**Sit Down**" or "**Crouch**".
2. **Format for Adding Descriptions**: Use the format `Action Name <Description>` to add descriptions. The description should be clear and concise, providing exact indications for the AI.
3. **Examples**:
   * **Sit Down:**

     ```
     sit down <Use this action to make the character sit, suitable for resting, healing, or engaging in conversations with NPCs. Ideal for safe zones or interaction points>
     ```
   * **Crouch:**

     ```
     crouch <This action lowers the character's profile, used for stealth or navigating low spaces>
     ```
   * **Attack Enemy:**

     ```
     attack enemy <Trigger this action when the player chooses to attack an enemy unit>
     ```
   * **Send Email:**

     ```
     send email <Initiate this action to allow the user to compose and send an email>
     ```

### Implementing Action Descriptions

1. **Navigate to Convai Info Section**: Select your Convai character in the editor and access the Convai Info section.<br>

   <div data-full-width="false"><figure><img src="/files/YM56FNSRvxJjmhXVAXte" alt="" width="296"><figcaption></figcaption></figure></div>
2. **Adding Action with Description**: Click the Add Element (+) icon to input the action along with its description as previously formatted.

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

### Additional Tips

* **Clear and Specific Descriptions**: Ensure descriptions are straightforward, precisely indicating action triggering conditions.
* **Use English.**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.convai.com/api-docs/plugins-and-integrations/unreal-engine/guides/actions-guide/stage-2-custom-actions/adding-descriptions-to-actions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
