The catalogue/Word

Word

app.microsoft.word

Create, read, and surgically edit Word documents in OneDrive

OAuth 2productivityRead the source↗
Version1.0.2
Categoryproductivity
AuthOAuth 2
Tools13
Transportstdio
LicenceMIT
01

What it does

The app, in its own words.

Microsoft Word document automation — create documents, read their text and structure, and make surgical edits that leave the rest of the file untouched. Edits overwrite the stored file; recover earlier states through OneDrive version history.

worddocxdocumentmicrosoftoffice365ooxml
02

Tools

13 tools the agent can call.

Every one is declared with typed parameters and returns structured results, so the host can render them instead of narrating them.

  • append-paragraphsAdd paragraphs to the end of a Word document, leaving everything already there untouched. Overwrites the stored file; earlier states are recoverable only through OneDrive version history.
  • convert-to-pdfConvert a Word document to PDF and save it to OneDrive. Fails if a file already exists at the destination unless overwrite is set.
  • create-documentCreate a new Word document from structured paragraphs. Fails if a file already exists at the path unless overwrite is set — an existing document is not recoverable from here except through OneDrive version history.
  • delete-paragraphDelete one paragraph from a Word document by its index from list-paragraphs. Indices shift after a delete, so re-list before deleting again. Cannot delete table content. Recoverable only through OneDrive version history.
  • get-commentsRead the review comments in a Word document, with their authors and dates. Returns an empty list when the document has none.
  • get-document-infoGet a Word document's OneDrive metadata, its Word document properties, and its paragraph and word counts.
  • insert-imageEmbed a PNG or JPEG image at the end of a Word document. Overwrites the stored file; earlier states are recoverable only through OneDrive version history.
  • insert-page-breakAppend a page break to a Word document, so subsequent content starts on a new page. Overwrites the stored file; earlier states are recoverable only through OneDrive version history.
  • insert-tableAppend a table to a Word document. Rows are plain strings; the first can be styled as a header. Overwrites the stored file; earlier states are recoverable only through OneDrive version history.
  • list-paragraphsList a Word document's paragraphs with the stable indices that append-paragraphs, delete-paragraph, and the other edit tools target. Call this before editing to find the paragraph you mean. Text inside tables is not listed and cannot be targeted by index.
  • read-documentRead a Word document as markdown (default) or HTML. Returns prose, not structure — use list-paragraphs when you need indices to edit.
  • replace-textReplace text in a Word document, matching text as the reader sees it even when Word has split it across formatting runs. Text inside tables is not searched or replaced. Overwrites the stored file; earlier states are recoverable only through OneDrive version history.
  • update-document-propertiesSet a Word document's title, author, subject, or description — the properties Word shows in File → Info. Leaves the document body untouched. Overwrites the stored file; earlier states are recoverable only through OneDrive version history.
03

Auth and permissions

What it asks for.

Declared in the manifest, in advance. The app cannot reach anything it did not ask for here.

Scopes

openidprofileemailoffline_accessUser.ReadFiles.ReadWrite.All

System secrets

CLIENT_IDCLIENT_SECRETREDIRECT_URI

Installation secrets

ACCESS_TOKENREFRESH_TOKENEMAILEXPIRY_DATE

Reading further

The manifest and the source for Word live in the repository, alongside the other apps.

Read the source↗Back to the catalogue→

Word · Agent Apps