> For the complete documentation index, see [llms.txt](https://developers.make.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.make.com/custom-apps-documentation/block-elements/parameters/boolean.md).

# Boolean

A true or false value

## Specification

### nested

Available types:

<table><thead><tr><th width="145.6666259765625" valign="top">Type</th><th valign="top">Specification</th></tr></thead><tbody><tr><td valign="top"><strong>array</strong></td><td valign="top">Provides an array of nested parameters that are shown when the value of the parameter is true (the checkbox is checked).</td></tr><tr><td valign="top"><strong>string</strong></td><td valign="top">Provides the URL address of an RPC to load list of nested parameters.</td></tr><tr><td valign="top"><strong>object</strong></td><td valign="top">Provides a detailed specification of nested parameters.</td></tr></tbody></table>

### editable (deprecated)

* Type: `Boolean`
* Default: `false`
* If set to `true` , the user can map (or manually edit) the value of the parameter.

## Example

### Basic Boolean

A basic Boolean offers three options: `true`, `false` and `undefined`.

{% tabs %}
{% tab title="Appearance" %}

<div align="left"><figure><img src="https://1562974717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNS0mCBwODiYtOVXjc6qf%2Fuploads%2Fgit-blob-d21927dc095a5152dcfa2632281494634ad8e5aa%2Fboolean1a.png?alt=media" alt="" width="542"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Source" %}

```json
[
	{
		"type": "boolean",
		"label": "My Boolean",
		"name": "myBoolean"
	}
]
```

{% endtab %}
{% endtabs %}

### Checkbox style

You can turn the radio buttons into a checkbox by adding a `"required": true` property. Additionally, you can set the default state by setting the `default` property.

{% tabs %}
{% tab title="Appearance" %}

<div align="left"><figure><img src="https://1562974717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNS0mCBwODiYtOVXjc6qf%2Fuploads%2Fgit-blob-bae03a4b89ddce1f92827e7d94f70128521202c7%2Fboolean2a.png?alt=media" alt="" width="539"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Source" %}

```json
[
	{
		"type": "boolean",
		"label": "Enable this feature?",
		"name": "enable",
		"required": true
	},
	{
		"type": "boolean",
		"label": "Subscribe?",
		"name": "subscribe",
		"required": true,
		"default": true
	}
]
```

{% endtab %}
{% endtabs %}

### Nested parameters

By adding nested fields, you can add fields that will be shown to the user if this field’s value is `true`.

{% tabs %}
{% tab title="Appearance 1" %}

<div align="left"><figure><img src="https://1562974717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNS0mCBwODiYtOVXjc6qf%2Fuploads%2Fgit-blob-b5488053cf98a650a5ce45a027c9cdb73900a17a%2Fboolean3a.png?alt=media" alt="" width="535"><figcaption><p>Boolean set to false</p></figcaption></figure></div>
{% endtab %}

{% tab title="Appearance 2" %}

<div align="left"><figure><img src="https://1562974717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNS0mCBwODiYtOVXjc6qf%2Fuploads%2Fgit-blob-551ecd4d114e76a2769f3cb9a472e58116793a6d%2Fboolean3b.png?alt=media" alt="" width="541"><figcaption><p>Boolean set to true</p></figcaption></figure></div>
{% endtab %}

{% tab title="Source" %}

```json
[
 {
    "name": "myBoolean",
    "type": "boolean",
    "label": "My Boolean",
    "nested": [
        {
            "name": "nestedField1",
            "type": "text",
            "label": "Nested Field 1"
        },
        {
            "name": "nestedField2",
            "type": "text",
            "label": "Nested Field 2"
        }
    ]
  }
]
```

{% endtab %}
{% endtabs %}

### Editable (deprecated)

{% hint style="info" %}
Since **Apps platform version 2**, all Booleans have set `mappable`(editable) to `true` by default.
{% endhint %}

You can allow mapping to the field by setting `editable` to `true`.

{% tabs %}
{% tab title="Appearance" %}

<div align="left"><img src="https://1562974717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNS0mCBwODiYtOVXjc6qf%2Fuploads%2Fgit-blob-25b0d91440b92aa5f2f017426752188bb2c33956%2Fboolean_editable.png?alt=media" alt="" width="563"></div>
{% endtab %}

{% tab title="Source" %}

```json
[
	{
		"type": "boolean",
		"label": "Editable boolean",
		"name": "myBoolean",
		"editable": true
	}
]
```

{% endtab %}
{% endtabs %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.make.com/custom-apps-documentation/block-elements/parameters/boolean.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
