update_paragraph
Update paragraph content
How to use it
update_paragraph is exposed by the Che Word MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the update_paragraph tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Che Word MCP
/usr/local/bin/CheWordMCPOther tools in Che Word MCP (39)
Apply built-in or custom styles
Informational — returns { drifted, diskmtime, storedmtime, diskhashmatches }
Close an open document (pass discardchanges: true to drop dirty edits)
Create a new Word document
Create custom style — extended with 6 v3.10 args: basedon, linkedstyleid, nextstyleid, qformat, hidden, semihidden
Delete a paragraph
Delete custom style
Delete a table
v3.18.0+ — estimate a Word UI page number to a getparagraphs candidate range (heuristic JSON with confidence + warning)
Save and close in one guarded step
Apply text formatting (bold, italic, color, font)
Legacy session snapshot (preserved for backward compat)
Get all paragraphs with formatting
Snapshot { sourcepath, diskhashhex, diskmtimeiso8601, isdirty, trackchangesenabled }
Traverse basedOn chain upward to root with cycle detection
Get all tables information
Get plain text content
Insert table-in-cell, depth-limited to 5 (throws nestedtoodeep)
Insert a new paragraph
Insert a table with optional data
Bidirectional <w:link> between paragraph and character style pair
List all open documents
List all available styles (Direct Mode supported)
Merge cells horizontally or vertically
Open an existing .docx file (trackchanges default false since v3.0.0)
Cooperative reload; requires force: true on dirty doc
Cross-run-safe find & replace with scope (body\
v2.2.0 — sequential N-replacement batch, single save at end, dryrun / stoponfirstfailure
Re-read source path, discard in-memory edits (destructive-by-design)
Save document to .docx file
v2.2.0 — aggregated multi-query search, works in Direct + Session Mode
Mark row as <w:tblHeader/> for repeat-on-page-break
Set paragraph formatting (alignment, spacing)
Apply firstRow / lastRow / bandedRows etc. (10 region types) via <w:tblStylePr>
Table-level left indent (<w:tblInd>)
Switch fixed / autofit
Set table borders and shading
Update cell content
Update style definition — same 6 extended args