# Search inside a document

<div align="left"><figure><img src="https://1036210849-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxixrDMBJVwul6MYWp1xY%2Fuploads%2Fgit-blob-744244c98981cddaf9ec16e93a0403e7b7addee1%2Fulii--Law%20lib%204.png?alt=media" alt=""><figcaption></figcaption></figure></div>

## How to search inside a document

1. Open the document you wish to search on your site
2. Click the **Search** tab on the left side of the screen
3. In the search bar, type the specific **keyword** or phrase you're looking for within the document
4. Click **Search** button
5. Your search term is highlighted in yellow in the document, and a list of matches is shown on the left.

<figure><img src="https://1036210849-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxixrDMBJVwul6MYWp1xY%2Fuploads%2Fgit-blob-5934afdf9df0532d1c216fa8ddc6cb319d4be036%2Fulii--Law%20lib%205.png?alt=media" alt=""><figcaption></figcaption></figure>

6. Click on a search result to jump to that part of the document.
7. To make a new search, click **Clear** and start again.

<div align="left"><figure><img src="https://1036210849-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxixrDMBJVwul6MYWp1xY%2Fuploads%2Fgit-blob-6ef99f2c0ca39b3f2ace8f1aef69d920fc32abf8%2Fulii--Law%20lib%206.png?alt=media" alt="" width="358"><figcaption></figcaption></figure></div>

These processes will assist you in navigating our documents and efficiently finding specific information using our in-document search feature.

\\


---

# 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://help.ulii.org/working-with-a-document/search-inside-a-document.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.
