> For the complete documentation index, see [llms.txt](https://help-en.cosmobots.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help-en.cosmobots.io/bot-builder/data/fields.md).

# Fields

## Creating Custom Fields

When you enter the object, you may notice a button in the top bar called Fields. By clicking we can create new fields or edit existing fields.

Here are the information we can define about the field:

\- **Field Label:** visible in page layouts\
\- **Field Path:** to be used in code\
\- **Field Type and Subtype:**\
&#x20;   \- **Text**\
&#x20;       \- Free\
&#x20;       \- Email\
&#x20;       \- Phone\
&#x20;       \- Address\
&#x20;   \- **Number**\
&#x20;       \- Free\
&#x20;       \- Currency\
&#x20;   \- [**Booleano**<br>](https://pt.wikipedia.org/wiki/Booleano)    - **Options**\
&#x20;   \- **Date Time**\
&#x20;       \- Date\
&#x20;       \- Date Time\
&#x20;   \- **Reference**\
\- **Field Size:** when the type is Text, the character size limit can be set\
\- **Decimal:** When the type is Number, you can define how many decimal places the number has\
\- **Options:** when the type is Options, the options available in that field can be set. Each line represents an option\
\- **Layouts:** the field can be visible in 3 types of layouts\
&#x20;   \- Record: refers to the record page when accessed through the Data tab\
&#x20;   \- Search: refers to the object page of this record that contains a table with all records.\
&#x20;   \- Message Center: Referring to the support agent page in the chat with the user\ <br>

## Defining Page Layouts

You can also change which fields are part of each layout by going to the Object page and directly accessing the button called **Page Layouts** directly in the top bar.


---

# 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://help-en.cosmobots.io/bot-builder/data/fields.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.
