# Extract Current Webpage

It allows users to extract useful text content from the current webpage. With just a click of the extract button, the text is automatically copied to your clipboard.&#x20;

You can then use the "Summary" tool to summarize the content, or process the text using other basic tools or your custom tools.

Due to structural differences between websites, extracted text may inevitably contain some irrelevant information. However, testing has shown that this does not significantly impact AI's understanding of the content. I will continue to optimize the extraction logic.


---

# 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://xriddle.gitbook.io/popai/extract-current-webpage.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.
