> ## Documentation Index
> Fetch the complete documentation index at: https://relevanceai.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# JSON

> Input a JSON object

## What is a JSON input

JSON input is an input component that allows you to enter a JSON objects.

## When to use the JSON input component

The JSON input component is suitable for an entry composed of multiple key values.

## How to add a JSON input to my custom Tool

The JSON  component is listed under User inputs. You can add it to your Tool using the main section
or the side-bar.

<img src="https://mintcdn.com/relevanceai/R4_uN_eHr7TJYC-q/images/build-custom-tools/user-input/json-input-1.png?fit=max&auto=format&n=R4_uN_eHr7TJYC-q&q=85&s=fd0e46bacf50f0c1542f8947dc0bc682" alt="JSON" width="2922" height="1678" data-path="images/build-custom-tools/user-input/json-input-1.png" />

## JSON input setting

<Snippet file="components/inputs/general-input-setting.mdx" />

<Snippet file="components/inputs/default-value-tip.mdx" />

## Access the entered JSON

To access the entered data use the variable mode `{{}}` and the input step name. Under the default setting it is accessible
via `{{json}}` (or `params.json` in  a JavaScript step).
