generate_redline
Generate a redlined Word document with real OOXML Track Changes (ins/del) to compare original and modified contract text, returning the result as base64.
Instructions
Generate a redlined Word document with real OOXML Track Changes (w:ins, w:del) applied directly to the original document. Returns the redlined DOCX as base64.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"analysisId": "<analysisId>"
},
"name": "generate_redline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| analysisId | Yes | The analysis ID of a completed analysis | |
| aggressiveness | No | How aggressive the redlines should be (1=conservative, 5=aggressive). Default: 3 | |
| includeComments | No | Include rationale comments in Word margins. Default: true |