# Tuple support

Tally's Custom Action builder supports the `tuple[]` type, called tuple arrays.

### What are tuple arrays?

The `tuple`type in Soldity is a data structure that contains a fixed number of elements, each of which can be of a different type. For instance, a tuple can contain an integer, a string, and a boolean value all together. The `tuple[]`type, called a "tuple array", contains a list of tuples.

### Building a tuple array

To create a proposal with a tuple array, add Custom Actions to your proposal. Then, use the imported ABI. Tally will infer the type from the ABI and help build the tuple array.

<figure><img src="/files/3yxy0WymA1zGmU45TXA6" alt=""><figcaption></figcaption></figure>

### Nested tuples

If a tuple or tuple array is nested in *another* tuple, enter the nested tuple(s) in plaintext with brackets. This tuple builder contains two nested tuple arrays, `contactDetails`and `chains` , and one nested tuple `bountyTerms` :

<div data-full-width="true"><figure><img src="/files/g54LQcX1f5FLs8blcwgk" alt=""><figcaption><p>tuple builder with empty nested tuples</p></figcaption></figure></div>

To add tuple arrays and tuples, enter them in plaintext:

<figure><img src="/files/On6CXDKz3WEaJBvdTveT" alt=""><figcaption><p>tuple builder with filled-in nested tuples</p></figcaption></figure>

{% embed url="<https://drive.google.com/file/d/1VuNXBZ6PagsREaFsaNWWZbCRA9HF5JG3/view?usp=sharing>" %}


---

# 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.tally.xyz/how-to-use-tally/creating-proposals/custom-actions/tuple-support.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.
