# How to edit a block

## Editor block top bar

The Editor block top bar contains several fields:

1. Block type

<div data-with-frame="true"><figure><img src="/files/mmUS1sp1NwXD7TUwsAza" alt="" width="563"><figcaption></figcaption></figure></div>

2. Block name (description)

<div data-with-frame="true"><figure><img src="/files/cZFHcTewuOGH3bR3JDjA" alt="" width="375"><figcaption></figcaption></figure></div>

3. Unique block ID

<div data-with-frame="true"><figure><img src="/files/pvexPr23PM6Nt2FUXivm" alt="" width="563"><figcaption></figcaption></figure></div>

To copy the block number (block ID), simply click on the block number.

4\. Additional commands menu

<div data-with-frame="true"><figure><img src="/files/KpHxfdAykycqR3gVTOAG" alt="" width="563"><figcaption></figcaption></figure></div>

5. AI-generated text

<div data-with-frame="true"><figure><img src="/files/UvUWbJvBcSeQ6tUaUbUM" alt="" width="563"><figcaption></figcaption></figure></div>

This is the field for selecting the block type. For detailed information about different block types, please refer to [Blocks and types](/chatbot/builder/setting/types.md)

To change the block type, click on the block type icon — this will open a dropdown menu with all available options.

<div data-with-frame="true"><figure><img src="/files/gNBzUwehRH8K057osKIc" alt="" width="285"><figcaption></figcaption></figure></div>

## Field: Block name

**Description:** This field allows you to add a brief note about the block's purpose. It's extremely helpful for organizing your bot's logic and maintaining clarity in complex projects with numerous blocks. By default, the description is automatically filled with text from the "Message text" field. This description is for your reference only and doesn't affect how the bot functions.

By default, the block is named after its type:

<div data-with-frame="true"><figure><img src="/files/8VWhLMBxoOnXCMbHZmLE" alt="" width="563"><figcaption></figcaption></figure></div>

You can set a custom block name by clicking on the field:

<div data-with-frame="true"><figure><img src="/files/vLy2sUVG2krtJG5rp0q0" alt="" width="428"><figcaption></figcaption></figure></div>


---

# 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.mavibot.ai/chatbot/builder/setting/edit.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.
