Back to tools

AI Agent Tool

Microsoft Word logo

Microsoft Word

Microsoft's word processor for document creation, editing, and collaboration, included in Microsoft 365.

ProductivityCommunity

microsoft.com

•

One-click Login

About Microsoft Word

Microsoft Word is the world's most widely used word processing application, available as part of Microsoft 365 subscriptions and as a one-time purchase via Microsoft 365 Personal or Family plans. It supports rich text formatting, track changes and co-authoring, mail merge, templates, and accessibility checking. In 2026, Microsoft began bundling Copilot Chat AI into Microsoft 365 plans, bringing draft generation, summarization, and editing suggestions directly into Word. Commercial pricing increases took effect July 1, 2026.

AI Agent Use Cases

- Rich text editing with styles, tables, and advanced formatting

- Real-time co-authoring and tracked changes for collaboration

- Copilot AI for draft generation, summarization, and rewriting (Microsoft 365 plans)

- Mail merge and document templates

- Accessibility checker and built-in grammar and spell check

- Available on Windows, macOS, iOS, Android, and web browser

Available Actions

These are the specific actions that AI agents can perform with this tool

Inputs

SaveChanges

Specifies the save action for the document.

OriginalFormat

Specifies the save format for the document.

RouteDocument

True if the document should be routed to the next recipient, ignored if no routing slip is attached.

Inputs

accessToken

The OAuth 2.0 access token to be included in the Authorization header for authenticating the API call.

documentName

The name of the new document to be created.

content

Optional initial content for the new document.

Inputs

externalDocument

The Base64-encoded string representation of the document content to be inserted.

Inputs

Unit

The unit by which the collapsed selection is to be deleted.

Count

The number of units to be deleted. Use a positive number to delete units after the selection, and a negative number to delete units before the selection.

Inputs

documentId

The unique identifier for the document from which to retrieve content.

accessToken

OAuth 2.0 access token for authorizing the request.

Inputs

FileName

The name of the document (paths are accepted).

ConfirmConversions

True to display the Convert File dialog box if the file isn't in Microsoft Word format.

ReadOnly

True to open the document as read-only.

AddToRecentFiles

True to add the file name to the list of recently used files.

PasswordDocument

The password for opening the document.

PasswordTemplate

The password for opening the template.

Revert

True to discard any unsaved changes and reopen the file.

WritePasswordDocument

The password for saving changes to the document.

WritePasswordTemplate

The password for saving changes to the template.

Format

The file converter to be used to open the document.

Encoding

The document encoding to be used by Microsoft Word.

Visible

True if the document is opened in a visible window.

OpenConflictDocument

Specifies whether to open the conflict file for a document with an offline conflict.

OpenAndRepair

True to repair the document to prevent document corruption.

DocumentDirection

Indicates the horizontal flow of text in a document.

NoEncodingDialog

True to skip displaying the Encoding dialog box.

Inputs

Background

Set to True to have the macro continue while Microsoft Word prints the document.

Append

Set to True to append the specified document to the file specified by the OutputFileName argument. False to overwrite the contents of OutputFileName.

Range

The page range to be printed.

OutputFileName

If PrintToFile is True, this argument specifies the path and file name of the output file.

From

The starting page number when Range is set to wdPrintFromTo.

To

The ending page number when Range is set to wdPrintFromTo.

Item

The item to be printed.

Copies

The number of copies to be printed.

Pages

The page numbers and page ranges to be printed, separated by commas.

PageType

The type of pages to be printed.

PrintToFile

True to send printer instructions to a file.

Collate

When printing multiple copies, True to print all pages of the document before printing the next copy.

FileName

The path and file name of the document to be printed.

ManualDuplexPrint

True to print a two-sided document on a printer without a duplex printing kit.

PrintZoomColumn

The number of pages to fit horizontally on one page.

PrintZoomRow

The number of pages to fit vertically on one page.

PrintZoomPaperWidth

The width to which Word scales printed pages.

PrintZoomPaperHeight

The height to which Word scales printed pages.

Inputs

NoPrompt

If true, Word saves all documents automatically without prompt; if false, Word prompts the user to save.

OriginalFormat

Specifies how the document is saved, using one of the WdOriginalFormat constants.

Inputs

documentId

The unique identifier of the Word document to be updated.

newContent

The new content to be inserted into the document.

accessToken

The OAuth access token for authorization.

Inputs

authToken

The OAuth2 access token for authorization.

ipAddresses

The list of new IP addresses to be allowed for portal access and SIEM agent connection.