# Intercept Modes

{% hint style="info" %}
**Configures:** what should Stoobly do with intercepted requests?
{% endhint %}

## Accessing From UI

From the UI, the active intercept mode can be found in the header dropdown button next to **Proxy Mode**. In the following example, the active intercept mode is **Record:**

<div align="left"><figure><img src="/files/k3iP3uVpJuhW065QGNvZ" alt="" width="339"><figcaption><p>Stoobly UI header showing Record intercept mode</p></figcaption></figure></div>

## Accessing From CLI

From the CLI, the active intercept mode can be show by running the following command:

```bash
stoobly-agent intercept show
```

## Available Intercept Modes

{% content-ref url="/pages/F4GwOw5lITXWirA20AaR" %}
[Mocking](/core-concepts/agent/intercept-modes/mocking.md)
{% endcontent-ref %}

{% content-ref url="/pages/1TQ2FJxXcNdzBzODBBom" %}
[Recording](/core-concepts/agent/intercept-modes/recording.md)
{% endcontent-ref %}


---

# 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.stoobly.com/core-concepts/agent/intercept-modes.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.
