# What is an Action box?

* Action boxes are created in the Code tab of the Langstack Application template.
* An Action box must contain one or more Actions.&#x20;
* Users may define multiple Action boxes within one Langstack application.&#x20;
* The Action box has a Description field labeled “OnExit” by default.&#x20;

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_2/ch2whatisactionbox_onexitactionbox_img1.png>" %}

* Users can define a meaningful label for the Action box by clicking on the description.

<figure><img src="https://media.langstack.com/documentation/media/images/code/training_manual/chapter_2/ch2whatisactionbox_renameactionbox_img2.png" alt=""><figcaption></figcaption></figure>

* To change the description of an Action box:
  * Click on the text of the description to start updating the text
  * Press Enter or click away from the edit field.&#x20;
* An Action box comprises two (2) tabs
  * Code tab: This is where the user can add Actions for the Action box (More details are provided in the section ‘[What is an Action?](/welcome/get-started/learn-langstack/basics-and-essentials/what-is-an-action.md)’)
  * Variables tab: This is where the user can add variables for the Action box (More details are provided in the section ‘[What is a variable?](/welcome/get-started/learn-langstack/basics-and-essentials/what-is-a-variable.md)’)         &#x20;
* The Shared Variables for Actions can be defined in the “Variables” tab of the Langstack Application template. These Shared Variables are accessible to all created Action boxes throughout the execution of the Langstack Application.&#x20;
* Variables defined in an Action box cover the scope of all Actions within that Action box.


---

# 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.langstack.com/welcome/get-started/learn-langstack/basics-and-essentials/what-is-an-action-box.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.
