> For the complete documentation index, see [llms.txt](https://guides.livingwriter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guides.livingwriter.com/desktop-app-+-web-version/ai-features/ai-analysis.md). Agents can also search and read this documentation through its [MCP server](https://guides.livingwriter.com/~gitbook/mcp).

# AI Analysis

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

AI Analysis is a comprehensive tool that examines your entire manuscript, providing valuable insights into the overall narrative and tone. It offers suggestions that take into account the full context of your work, ensuring coherence and consistency throughout your story.

You can find the AI Analysis option either in the right sidebar:

<figure><img src="https://3419003392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8uC1CdAsTNatqxx2T5p%2Fuploads%2FeOxpdCem4FkyiGLz72BM%2Fimage.png?alt=media&amp;token=c988bc93-7e9a-4466-813a-6e8e2108643c" alt=""><figcaption></figcaption></figure>

Or at the top, in the toolbar:

<figure><img src="https://3419003392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8uC1CdAsTNatqxx2T5p%2Fuploads%2FIdWYnuVtqY98xOQscIFj%2Fimage.png?alt=media&amp;token=e26989e3-fd36-4353-b968-af514f160f8e" alt=""><figcaption></figcaption></figure>

You only need to click on ''AI Regenerate Analysis'', and you will be presented with an overview of your chapter, which includes important notes and suggestions regarding your story and characters. Additionally, you'll receive a comprehensive analysis of the overall tone of your text.

<figure><img src="https://3419003392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8uC1CdAsTNatqxx2T5p%2Fuploads%2FhsnF0lptfAEcEuy3ggcn%2Fimage.png?alt=media&amp;token=a7b82416-e8c0-46a4-938c-dc2ad9f9ff29" alt=""><figcaption></figcaption></figure>

You can regenerate it if you wish to do so, and if you hover over each section of the analysis, you will see three extra options for your text: you can add it to your To-Do List, you can Stash it, or you can copy it.

<figure><img src="https://3419003392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8uC1CdAsTNatqxx2T5p%2Fuploads%2Fh3JTNJPvps7cI6EYBHrp%2Fimage.png?alt=media&amp;token=204d700f-17d7-40fc-af74-55697d48d09a" alt=""><figcaption></figcaption></figure>

You have the option to regenerate the analysis if you wish to refine or update it. Additionally, when you hover over each section of the analysis, three extra options become available for your text: you can add it to your To-Do List, you can Stash it, or you can simply copy it.

If you wish to add it to your To-Do List, a new window will show up where you'll be able to create a new task for it:

<figure><img src="https://3419003392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8uC1CdAsTNatqxx2T5p%2Fuploads%2FDNhmRtI1SmfsLrOP9DGZ%2Fimage.png?alt=media&amp;token=a4df6be3-6b24-4822-b28c-3acba2a51360" alt=""><figcaption></figcaption></figure>

You will be able to add notes, select the priority, and even set-up a due date if you wish to do so. Once you have confirmed your settings, just click ''Save'' and you will be able to find the new task in the To-Do List section on the right sidebar:

<figure><img src="https://3419003392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8uC1CdAsTNatqxx2T5p%2Fuploads%2FUa7nj4ii1dlzYVR1cnE4%2Fimage.png?alt=media&amp;token=b4591f0f-2181-4193-a982-d512ea066105" alt=""><figcaption></figcaption></figure>

If you choose to Stash it, you can simply look for it on the right sidebar:

<figure><img src="https://3419003392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8uC1CdAsTNatqxx2T5p%2Fuploads%2F1Wj9OirpjYpl3CoAMuxd%2Fimage.png?alt=media&amp;token=0c9a0261-09cc-4f65-8d41-b8990c145e62" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guides.livingwriter.com/desktop-app-+-web-version/ai-features/ai-analysis.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
