> For the complete documentation index, see [llms.txt](https://docs.noqo.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.noqo.ai/main-settings/system-prompt/reading-url.md). Agents can also search and read this documentation through its [MCP server](https://docs.noqo.ai/~gitbook/mcp).

# Reading URLs

**What is URL link reading?**

**URL link reading** is the ability of the bot to retrieve the information you need from any web page of a website.

## Creating a URL link viewing action.

{% stepper %}
{% step %}

#### Go to the "<mark style="color:orange;">Workflows</mark>" section and click the "<mark style="color:orange;">Add</mark>" button

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2FTWWWuu40WVtYbzNOzr38%2F4.png?alt=media&amp;token=7f077c5b-87ad-43b9-821a-e85ea2a9f7a9" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Choosing the step type <mark style="color:orange;">Reading links</mark>

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2FYE6H4QfIArATOgahIikb%2Fimage.png?alt=media&amp;token=d2e7110f-7445-463a-ab40-cf12ad789647" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Access the Action Settings

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2F0rnNX5szyyKiTShiyvqf%2Fimage.png?alt=media&amp;token=84875b51-76ac-4d97-ae2f-dda944b5d33f" alt=""><figcaption></figcaption></figure>

| **Action Name**          | A display name by which you can easily identify the required tool in the general list                                                     |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
| **Function Name**        | <p>Should describe the main idea of this action.</p><p>Only English alphabet characters and underscores (<code>\_</code>) are allowed</p> |
| **Function Description** | A description of what this action will do                                                                                                 |
| **Error Message**        | What text will be returned to the bot in case of an error. We recommend writing something like "An error occurred"                        |
| {% endstep %}            |                                                                                                                                           |

{% step %}

#### Go to <mark style="color:orange;">Action variables</mark> and fill in the description of the argument

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2FNFDWxPlaF7V6A9hx8mqe%2F5.png?alt=media&amp;token=8bfea715-f50b-4be4-9e7e-1865ccd1f9d6" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Argument** - since the argument for the function is any **URL link** by design, in the **Argument** field we write **`url`**.

**Argument Description** - this field is optional and serves as a description to avoid confusion if there are multiple arguments.
{% endhint %}

{% hint style="warning" %}
Ensure that the **argument** is written in English and without spaces. You can use English alphabet characters and underscores (`_`).
{% endhint %}
{% endstep %}

{% step %}

#### Passing the result to a variable

If you need to pass the result somewhere else, perhaps to another action, you can pass it to a variable.

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2F3WHsXPyAa1ktpVVXpFaC%2F6.png?alt=media&amp;token=657750d2-d8e5-46b0-b4eb-f836ec130f6b" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Completing the creation of an action

Just click the <mark style="color:orange;">Save</mark> button.

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2FNpslzA5KszearG2BefhL%2F7.png?alt=media&amp;token=060a71a6-24fa-4f6b-9ba3-cbd8c1a342fa" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

Configuration is complete.

#### Adding an action to the main instruction

Add the following line to your prompt:

> <mark style="color:orange;">If a client sends you a link, pass it to the reading\_links() function</mark>
