> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mixus.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Redline Tool

> Professional document markup and track changes with AI

The Redline Tool allows you to upload Word documents (`.docx`) and request AI-powered modifications that are returned as professional "redlines" (tracked changes). This bridges the gap between conversational AI editing and professional document review.

## Overview

When you ask mixus to edit a document, the Redline Tool orchestrates a sophisticated process:

1. It analyzes the original document structure.
2. It applies your requested changes using advanced LLMs (like Claude 3.5 Sonnet).
3. It performs a professional comparison between the original and the edited version.
4. It returns a new Word document with **Track Changes** enabled, showing exactly what was modified.

## Key Capabilities

### 1. Professional Track Changes

Instead of just giving you a block of text, the Redline Tool returns a standard Microsoft Word document with native track changes. You can open this in Word, review each change, and accept or reject them individually.

### 2. Intelligent Document Markup

The tool doesn't just swap text; it understands document context:

* **Negotiation Comments**: Can insert "BigLaw" style negotiation comments explaining *why* a change was made.
* **Source Citations**: Can add footnotes with citations to market best practices or specific knowledge base documents.
* **Risk Analysis**: Automatically flags potential legal or business risks introduced or addressed by the changes.

### 3. Multi-Source Support

You can redline documents from various sources:

* **Attachments**: Documents you just uploaded to the chat.
* **Memory**: Documents previously stored in your mixus knowledge base.
* **Generated Docs**: Documents mixus just created for you.
* **External URLs**: Documents downloaded from integrated services like Google Drive or SharePoint.

### 4. Advanced Validation

To ensure high quality, the tool performs multiple validation passes:

* **Content Accuracy**: Verifies changes align with your instructions.
* **Instruction Completeness**: Ensures all requested fields (like effective dates or party names) are filled.
* **Format Integrity**: Maintains the original document's styling and structure.

## How to Use

Simply upload a `.docx` file and provide instructions.

### Example Prompts

<CodeGroup>
  ```text Negotiation theme={null}
  "Redline this NDA to be more favorable to the buyer, adding negotiation comments where appropriate."
  ```

  ```text Template Filling theme={null}
  "Fill this contract template with: Party A = Acme Corp, Party B = Globex, Date = today's date."
  ```

  ```text Specific Edits theme={null}
  "In Section 4, change the governing law to New York and update the notice period to 30 days."
  ```
</CodeGroup>

## Output Artifacts

When a redline operation completes, mixus provides:

* **Redlined Document**: The primary `.docx` file with Track Changes.
* **Clean Version**: (Optional) A version with all changes already accepted.
* **Comparison PDF**: A quick-view PDF showing the redlines for easy mobile viewing.
* **Issues List**: A summary document listing all major changes and identified risks.

## Legal-Specific Features

For specialized legal use cases, the Redline Tool includes advanced features like attorney-grade validation and risk detection.

<Card title="Learn More about Legal AI" icon="scale-balanced" href="/legal-ai/document-redlining">
  Explore our professional legal redlining capabilities, including multi-pass
  review and source citations.
</Card>

## Supported Formats

Currently, the Redline Tool specialized in **Microsoft Word (.docx)** files to ensure the highest fidelity of tracked changes.
