# Anvil UI Prompt

As the name suggests, anvil prompt uses the native anvil interface to prompt the player.

| Anvil Prompt    |                                                                                                                                                                             |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Prompt Argument | `-a` (space after is required)                                                                                                                                              |
| Break lines     | Yes, `{br}` signifies a break-line and CommandPrompter will put every line (except the first one, since it's the title/item display name) and make them as the item's lore. |
| Color Support   | Yes                                                                                                                                                                         |
| Configurable    | [Yes](/commandprompter/configuration/prompts-configuration/anvil-ui.md)                                                                                                     |

**Example**

The example below shows the command with a prompt and a corresponding image of its appearance

```
/gamemode <-a &6&lWhat gamemode?{br}0. Survival{br}1. Creative{br}2. Adventure{br}3. Creative>
```

![](https://i.imgur.com/aDNfv3j.png)


---

# 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://cyr1en.gitbook.io/commandprompter/prompts/anvil-ui-prompt.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.
