Microsoft Word · Capability

Microsoft Word Document Management

Unified workflow for Word document creation, editing, collaboration, conversion, and lifecycle management. Combines Microsoft Graph for cloud storage and sharing, JavaScript API for content manipulation, and Open XML SDK for server-side processing. Used by document authors, content managers, and automation engineers.

Run with Naftiko Microsoft WordDocument ManagementCollaborationAutomation

What You Can Do

POST
Create document — Create a new Word document.
/v1/documents
GET
Get document — Get document metadata.
/v1/documents/{document-id}
DELETE
Delete document — Delete a document.
/v1/documents/{document-id}
GET
Get content — Get document body content.
/v1/documents/{document-id}/content
GET
List paragraphs — List paragraphs.
/v1/documents/{document-id}/paragraphs
GET
List tables — List tables.
/v1/documents/{document-id}/tables
GET
List comments — List comments.
/v1/documents/{document-id}/comments
GET
List permissions — List permissions.
/v1/documents/{document-id}/permissions
GET
List versions — List version history.
/v1/documents/{document-id}/versions
POST
Convert document — Convert to another format.
/v1/documents/{document-id}/convert
GET
Search documents — Search for documents.
/v1/search

MCP Tools

graph-get-document

Get metadata for a Word document stored in OneDrive/SharePoint.

read-only idempotent
graph-list-files

List files and folders in a OneDrive directory.

read-only idempotent
graph-search-documents

Search for Word documents in OneDrive/SharePoint.

read-only idempotent
graph-create-folder

Create a new folder in OneDrive.

graph-share-document

Create a sharing link for a document.

graph-list-permissions

List sharing permissions on a document.

read-only idempotent
graph-list-versions

List version history of a document.

read-only idempotent
graph-delete-document

Delete a document from OneDrive/SharePoint.

idempotent
addin-get-body

Get the body content of an open Word document.

read-only idempotent
addin-insert-text

Insert text into the document body.

addin-insert-html

Insert HTML content into the document.

addin-list-paragraphs

List all paragraphs in the document.

read-only idempotent
addin-list-content-controls

List content controls in the document.

read-only idempotent
addin-list-tables

List tables in the document.

read-only idempotent
addin-insert-table

Insert a new table into the document.

addin-list-comments

List comments in the document.

read-only idempotent
addin-search-text

Search for text within the document.

read-only idempotent
openxml-create-document

Create a new Word document server-side using Open XML.

openxml-convert-document

Convert a Word document to PDF or other format.

openxml-add-paragraph

Add a paragraph to a document server-side.

APIs Used

graph-api javascript-api open-xml-sdk