Microsoft Word
Microsoft Word tools for finding, downloading, updating, and managing DOCX files in OneDrive and SharePoint through Microsoft Graph
Integration
- Vendor
- Microsoft Word
- Category
- docs
- Auth
- OAUTH2
- Tools
- 23
- Composio slug
microsoft_word
Tools
- Add Comment
Add a Word comment to one exact paragraph selected by text or a READ_DOCX locator.
- Append Content
Append plain text or supported Markdown paragraphs, headings, formatted runs, lists, rectangular tables, safe http/https/mailto links, and Courier New inline or fenced code to a DOCX body.
- Copy DOCX
Copy a verified DOCX to a OneDrive or SharePoint folder, wait boundedly for the asynchronous operation, and return verified destination metadata. If waiting times out, the server-side copy may continue; inspect the destination before retryi
- Create DOCX
Create a safe DOCX containing styled paragraphs and formatted runs, bullet or decimal lists, rectangular tables, or constrained HTML/Markdown source with safe external links and inline or fenced code rendered in Courier New, plus validated
- Create DOCX sharing link
Create a view, edit, or embed sharing link for a verified DOCX. Returns Graph's capability-bearing URL; treat it as a secret. Sharing can change the document eTag, so call READ_DOCX again before editing. Setting retain_inherited_permissions
- Delete DOCXdestructive
Move one DOCX to the provider recycle bin only when its current eTag matches. This action does not bypass shared locks or checked-out state. A successful result does not guarantee permanent erasure.
- Edit DOCX
Atomically edit literal text, paragraphs, independent Latin/non-complex and complex-script run formatting, lists, rectangular tables including plain cells and rows outside merged regions, uploaded inline PNG/JPEG images, semantic comments,
- Export DOCX to PDF
Convert a DOCX of at most 2 MB to PDF through Microsoft Graph and return a temporary file reference. The provider's preauthenticated redirect URL is followed internally and is never returned.
- Fill Template
Fill run-spanning placeholders in main-document paragraphs of a validated DOCX template snapshot, then create and return a new document. Strict mode creates only after every requested placeholder is found; non-strict mode can create a parti
- Find DOCX files
Browse one folder or search a drive for DOCX files. Browse pages also return folders for navigation. Search results can be eventually consistent; use a direct read action when authoritative current state is required.
- Find SharePoint sites
Find accessible SharePoint sites by keyword, or resolve one known hostname and site path to its site ID.
- Get Microsoft Word account context
Return the signed-in Microsoft identity and primary OneDrive identifiers needed to start OneDrive DOCX work. Microsoft Graph documents that GET /me/drive automatically provisions OneDrive when the delegated user is licensed but does not yet
- Invite DOCX recipients
Grant read or write access to required named recipients. send_invitation and require_sign_in are required; emailing an invitation is an irreversible external side effect. Partial success is reported per recipient. Sharing can change the doc
- List DOCX versions
Validate the selected drive item as a DOCX, then return one page of retained versions in Microsoft Graph's newest-first order. Provider download URLs and raw identity objects are omitted.
- List OneDrive drives
Return one page of drives available to the signed-in user as the Microsoft Word toolkit's OneDrive-drive selector for DOCX workflows. Unlike GET_ACCOUNT_CONTEXT, this lists drives without returning identity context or selecting only the pri
- List SharePoint document libraries
Return one page of document libraries and available root folder item IDs for a SharePoint site ID.
- Move or rename DOCX
Rename a DOCX, move it within the same drive, or do both, guarded by its current eTag. At least one of new_name or destination_folder_id is required.
- Read DOCX
Safely inspect a DOCX as bounded rich OOXML: paragraphs and editable text segments, directly formatted runs, tables and merged-cell metadata, internal images, hyperlinks with withheld targets, paired footnotes, semantic comment threads, pen
- Replace Text
Replace literal text across Word run boundaries in a DOCX, optionally as tracked revisions. Uses an optional eTag guard and retries one definite stale unpinned write.
- Resolve Tracked Changes
Accept or reject all pending tracked revisions, or selected revision locators returned by READ_DOCX.
- Restore DOCX version
Restore a retained DOCX version as a new current version, preserving version history, then observe the item's current metadata in a post-operation read. That metadata does not independently prove which version supplied the current content.
- Share DOCX
Backward-compatible wrapper for sharing a verified DOCX. Prefer CREATE_DOCX_SHARING_LINK for links and INVITE_DOCX_RECIPIENTS for named recipients. mode defaults to create_link. Invite mode requires recipients, roles, send_invitation, and r
- Upsert DOCX
Create or replace a same-name DOCX containing the same validated content supported by CREATE_DOCX. Replacement is always enabled; use CREATE_DOCX for create-only conflict behavior.
Setup
- Create or open a Switchy Project.
- Open Integrations and connect Microsoft Word.
- Authorise through oauth2. Switchy stores the connection against your org.
- Everyone in the Project can now @-mention the Microsoft Word tools in chat.
What teammates see: by default, memories from Microsoft Word are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.
Works well with
Top models
Compatibility data appears once enough Projects have used this MCP together with a given model.