# AI Rewrite

{% embed url="<https://youtu.be/B6S3YHHZ120?feature=shared>" %}

The AI Rewrite is an incredibly useful tool that can help you rewrite any text of your choice in just a few seconds. It quickly analyzes your text and provides an improved version that maintains the original meaning while enhancing clarity and readability. This tool is perfect for refining your writing, ensuring that your content is polished and effective, all without the time-consuming effort of manual revision.

To start, you need to select your text and at the top of it, a box with options will show up. The AI Rewrite is the third one:

<figure><img src="/files/7s6yoiPVtjkSrCDNel6E" alt=""><figcaption></figcaption></figure>

You can also find the option available in the toolbar by clicking on the AI icon as well:

<figure><img src="/files/fD6zG9k5TZy5mwgm2alX" alt=""><figcaption></figcaption></figure>

Just make sure your text is selected, otherwise the option will not work.

Now, after clicking on the AI Rewrite, a new window will show up:

<figure><img src="/files/aseXqftLGOEWMDwx9fT0" alt=""><figcaption></figcaption></figure>

As shown in the screenshot above, you can view the text you have selected and provide specific input to the AI on how you would like it to be rewritten. You have the flexibility to choose any style and tone for the rewritten text, allowing you to tailor the output to your preferences and needs.

Once you have typed in your instructions to the AI, just click on ''Rewrite'' and watch the magic happen.

<figure><img src="/files/dlgBbvpFzKeEFv1Q0EVV" alt=""><figcaption></figcaption></figure>

The AI Rewrite also saves all the prompts you type in, providing a more comfortable and efficient experience. This eliminates the need to re-type prompts you have previously used, streamlining your workflow and allowing you to focus on refining your text.

<figure><img src="/files/rd0AZAg1rwOLxWzk21xn" alt=""><figcaption></figcaption></figure>

Once your text has been rewritten, you have two options:

You can insert it right away into your manuscript, or you can save the original text and insert the rewritten one. You can find the options at the bottom of the window:

<figure><img src="/files/FfVMP0gI0SPM9EYRcjum" alt=""><figcaption></figcaption></figure>

If you decide to Stash the original text, you can easily locate it in the Stash section in the right sidebar. You'll be able to find all your stashed content conveniently stored there. This ensures that your original text is safely preserved, allowing you to access it whenever needed and compare it with the rewritten version at your convenience.

<figure><img src="/files/7vFtzLm149bUkhC3sX5x" alt=""><figcaption></figcaption></figure>


---

# 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://guides.livingwriter.com/desktop-app-+-web-version/ai-features/ai-rewrite.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.
