# `Mojentic.LLM.Tools.AskUser`
[🔗](https://github.com/svetzal/mojentic-ex/blob/v1.2.0/lib/mojentic/llm/tools/ask_user.ex#L1)

Tool for asking the user a question and receiving their input.

This tool allows the LLM to request help from the user when it needs
additional information or doesn't know how to proceed. The user's response
is returned as the tool result.

## Examples

    alias Mojentic.LLM.Tools.AskUser

    tool = AskUser.new()
    {:ok, result} = AskUser.run(tool, %{
      "user_request" => "What is your favorite color?"
    })
    # Prompts user for input:
    #
    #
    #
    # I NEED YOUR HELP!
    # What is your favorite color?
    # Your response: blue
    #
    # Returns: {:ok, "blue"}

# `new`

Creates a new AskUser tool instance.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
