# Emergency Button

{% hint style="info" %}
You must add the output parameter to your greeting for the emergency button to display.
{% endhint %}

<div align="left"><img src="https://4062709520-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La71Iy76rotlqbCOWoQ%2F-M38nU-UM7uqvdRDgX08%2F-M38qbqfKuw5WziCK3Bi%2F911.png?alt=media&#x26;token=0b995088-7496-4c0f-b249-af73786c39c2" alt=""></div>

### Output Parameter

```javascript
emergency = 
{
  "icon"    : "bell-ring", // mdi icon name
  "color"   : "red", // optional
  "payload" : "&command=CMD_911" // no user input sent back but rather ctx params
}
```

`icon` is a [mdi icon](https://materialdesignicons.com/) name \
`payload` can contain any request parameters sent back to Teneo once the button is clicked


---

# 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://jolzee.gitbook.io/leopard/components/emergency-button.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.
