# Search Command

#### Overview

LLMs (Large Language Models) are powerful—but they don’t know everything. Their knowledge is limited to the data they were trained on, which means they can’t automatically access **recent news, real-world events, or live information**.

That changes now.

With the new **`/search`** command, you can connect your conversations to the internet in real time. The AI will look up the most relevant and up-to-date information, summarize it, and use it naturally in the chat—so your character stays informed, responsive, and a little more human.

#### 🔍 How It Works

When the system detects a **`/search`** command in your message:

1. A real-time web search is performed using your query.
2. A short summary of the results is integrated directly into the current context.
3. The AI then uses that new information to generate a natural reply.

{% hint style="info" %}
💡 **Note:** The additional information stays in the contexx **only for as long as the original message remains in the model’s active context**, which depends on your subscription tier and context memory
{% endhint %}

#### 🧠 How to Use It

To use the feature, simply type the **`/search`** command on a **new line** in your chat, followed by your question or topic.

```
/search [your question or topic]
```

<figure><img src="/files/sNcq41XfvWnhEtvJS9WC" alt="" width="375"><figcaption></figcaption></figure>

Once sent, the search will be performed and summary of that search will be added to the context to generate the next response.&#x20;

<figure><img src="/files/Q3KSX2GvVKksFmNnub1u" alt="" width="375"><figcaption></figcaption></figure>

#### 💬 Example Prompts

**Example 1 — Checking Timezones**

```
/search current time in Tokyo
Looks like we’ll miss our dinner reservation if it’s already late evening there.
```

→ The AI finds the local time in Tokyo and responds naturally based on it.

**Example 2 — Cultural Context**

```
You tighten your grip on the charm hanging from your neck, whispering a quiet prayer.
/search traditional Japanese talismans used against demons
```

→ The AI searches the traditional Japanese talismans and the response is based on that.

**Example 3 — Pop Culture Update**

```
You’ve been bragging about your favorite driver all week—did he actually win?
/search who won the latest Formula 1 race
```

→ The AI searches live results and responds with the outcome.

#### 💡 Tips for Best Results

* Keep your **search request short and clear.** (Think: “weather in Paris today,” not “tell me the entire forecast for this month.”)
* You can use **`/search`** anywhere in the message—it doesn’t have to be at the start.
* Keep the search relevant to the current context and story.


---

# 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://docs.spicychat.ai/product-guides/search-command.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.
