flatten_document
Accepts all tracked changes and removes revision markup, including formatting changes, to produce clean plain text without tracked-change metadata.
Instructions
Accept all tracked changes and remove all revision markup.
Accepts every w:ins / w:del and strips all w:rPrChange and w:pPrChange elements, leaving plain text with no tracked-change metadata.
Returns: {"changes_accepted": int, "formatting_changes_removed": int}
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "flatten_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |