# Tokens

Tokens allow customizing how the command's parameters are displayed in the input of the Command Bar.

* **paramName:** The name of the parameter associated with this token. These parameters are typically added with [ActionMoveAddParam](https://platform.slapdash.com/command-response-action#actionmoveaddparam).
* **label:** Optional. The label for the token. By default, the parameter's name is used.
* **icon:** Optional. The [Icon](https://platform.slapdash.com/reference/command-response-icon) for the token.

{% tabs %}
{% tab title="Masonry View: custom label and icon for a token" %}

```javascript
{
  "tokens": [
    {
      "paramName": "image",
      "label": "Moon",
      "icon": "🌜"
    }
  ],
  "view": {
    "type": "masonry",
    "options": [
      {
        "imageURL": "https://images.unsplash.com/photo-1481819613568-3701cbc70156",
        "action": {
          "type": "open-url",
          "url": "https://images.unsplash.com/photo-1481819613568-3701cbc70156"
        },
        "moveAction": {
          "type": "add-param",
          "name": "image",
          "value": "moon"
        }
      }
    ]
  }
}
```

{% endtab %}
{% endtabs %}


---

# 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://platform.slapdash.com/reference/command-response-tokens.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.
