# Microsoft Word 365

> Read content from Microsoft Word documents.

Source: https://cotera.co/docs/reference/tools/individual-tools/microsoft-word-365

---

**Authentication Type:** OAuth\
**Description:** Read content from Microsoft Word documents.

***

## Beta Notice

**This tool is currently in beta testing and not yet available for general use.**

To get the Microsoft Word 365 tool added to your Cotera workspace, please contact our support team at [support.cotera.co](https://support.cotera.co).

***

## Documents

Extract content from Word documents.

### Read Document

Read a document to extract the text content of a Word file stored in OneDrive or SharePoint.

**Operation Type:** Query (Read)

***

### Create Structured Document

Creates a structured Word document with sections, headings, and markdown-formatted content, then uploads it to OneDrive or SharePoint.

**Operation Type:** Mutation (Write)

**Parameters:**

* **siteId** `string` (nullable, default `null`): SharePoint site ID for destination. If omitted, uses OneDrive.
* **driveId** `string` (required): Drive ID for the destination location.
* **parentItemId** `string` (nullable, default `null`): Parent folder item ID. If omitted, uploads to root.
* **fileName** `string` (required): Name for the new `.docx` file (without extension).
* **fontFamily** `string` (nullable, default `null`): Document-wide font family. If omitted, uses default.
* **sections** `array` (required): Array of section objects, each with:
  * **heading** `string` (nullable): Section heading text.
  * **headingLevel** `number` (nullable): Heading level 1–6. If omitted, no heading is rendered.
  * **content** `string` (required): Markdown-formatted content. Supports: `**bold**`, `*italic*`, `~~strikethrough~~`, `` `inline code` ``, `[links](url)`, `- bullet lists`, `1. numbered lists`, `> blockquotes`, ` ```code blocks``` `, tables, and `---` horizontal rules.
* **conflictBehavior** `string` (default `"replace"`): File conflict behavior: `"replace"` (default), `"fail"`, or `"rename"`.

**Returns:**

* **id** `string`: The item ID of the uploaded file.
* **name** `string`: The name of the uploaded file.
* **webUrl** `string` (nullable): Web URL to access the file.
* **size** `number` (nullable): File size in bytes.

