# Example (Weather)

{% hint style="info" %}

#### **Full video walkthrough guide coming soon**

{% endhint %}

#### **Weather Bot**

* **Goal**: Provide quick weather updates on Twitter.
* **Key Functions**:
  * `get_weather` (custom) to fetch current conditions.
  * `post_tweet` to share these conditions automatically.
* **Workflow**: The agent monitors a schedule (e.g., every hour), calls `get_weather`, then tweets “It’s sunny with a high of 75°F” or similar. Perfect for a user wanting basic, no-risk automation.


---

# 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.build.fun/create-an-agent/weather-example.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.
