What can you do with it?
Microsoft Word allows you to manage Word documents programmatically through the Microsoft Graph API. You can list Word files in your OneDrive, download documents for viewing or editing, upload new or updated documents, search for specific Word files, and create temporary shareable links. This integration is perfect for document management, automated file handling, and content sharing workflows. Note that direct document editing requires downloading, modifying locally, and re-uploading.How to use it?
Basic Command Structure
Parameters
Required:action
- The operation to perform with Word documents
Tools
List Documents
List all Word documents in your OneDrive Parameters:folder-path
(optional) - Specific folder to list from
Get Document by Path
Retrieve a specific document by its file path Parameters:file-path
(required) - Path to the Word document
Search Documents
Search for Word documents by name Parameters:search-query
(required) - Search term (e.g., document name or .docx)
Download Document
Download a Word document Parameters:item-id
(required) - The ID of the document to download
Upload Document
Upload a new or updated Word document Parameters:file-path
(required) - Destination path for the filecontent
(required) - Binary content of the document
Create Shareable Link
Generate a temporary public link for a document Parameters:item-id
(required) - The ID of the documentlink-type
(optional) - Type of link: view or edit (default: view)expiration-hours
(optional) - Hours until expiration (default: 24)