Edit and review Word documents with AI
Use Deckary in Word to draft structured content, revise selected or targeted text, format documents, verify structure, and add comments.
Last verified: 2026-09-04
Deckary can edit and review a Word document by reading the relevant text, resolving exact current targets, applying native document changes, and observing the result. It supports plain-text edits, structured headings and lists, styles, inline formatting, document comments, and a deterministic structure check.
Revise selected text#
Use a selection when the exact passage is already highlighted. replace_selection is for one plain-text paragraph. If the replacement needs headings, bullets, numbering, several paragraphs, or formatted runs, the agent uses replace_selection_with_blocks on a whole-paragraph selection.
Changing the selection after the read invalidates the planned edit. The agent must obtain a fresh selection before it can continue.
Edit targeted passages#
For repeated or document-wide text, Deckary can search the document and return current paragraph or section references. The agent must observe those references before it calls a target-writing tool; a search and its dependent write cannot be issued together in the same model response.
apply_doc_edits resolves and preflights the complete target set before it queues one host batch. If a batch partially commits, Deckary reads the targets back and preserves the verified partial result instead of reporting a generic success or failure.
Draft native structure#
Use insert_blocks to add headings, paragraphs, bullet items, and numbered items before or after an observed paragraph or section. New blocks remain distinct Word paragraphs. Current-cursor insertion is available through the selection-end placement.
Ask for the document role, not Markdown syntax:
After the findings section, add a level-two heading named Recommendations,
followed by a short paragraph and three numbered actions with bold owners.
Apply styles and formatting#
The agent can apply a built-in Word style or format selected, document, section, or paragraph targets. Formatting can be filtered to roles such as body content, plain paragraphs, headings, list items, or quotes. That lets a request update all headings without treating heading text as an unrelated special write operation.
Review structure and add comments#
verify_doc_structure runs a deterministic host-side scan of the document body and returns findings. It does not ask the language model to guess whether the Word structure committed correctly. The current verification surface operates at document scope over a bounded leading set of body paragraphs.
Use add_comment to attach review feedback to a verified target. Comments are useful when the document owner should decide whether to change a claim, source, or recommendation.
For exact operation names and boundaries, see the Word tool reference.