SERVICE & TOOLS
Word
Word documents — create, edit, format with tables, images, styles, footnotes, comments
34 available tools
add_ footnote_ to_ document
Adds a footnote to the specified paragraph in a Word document.
add_ heading
Adds a heading to a Word document, optionally with a specific level, font, and bottom border.
add_ page_ break
Adds a page break to a Word document.
add_ paragraph
Add a new paragraph to a Word document, optionally with a style and font formatting.
add_ picture
Adds an image to a Word document, optionally setting its width in inches. Use this when you need to insert a picture from a local path or URL into an existing document.
add_ table
Adds a table to a Word document, optionally filling it with data.
convert_ to_ pdf
Converts a Word document to PDF and registers the result as a new file, leaving the original Word document unchanged.
create_ custom_ style
Creates a custom paragraph style in a Word document, optionally based on an existing style and with its own font, size, weight, italic and color settings. Use this when you need a reusable style rathe…
create_ document
Creates a new Word document with an optional title and author, returning a file_id you can use to reference it in later operations.
delete_ paragraph
Deletes the paragraph at the given index in a Word document.
delete_ word_ document
Permanently deletes the specified Word document by its file ID.
download_ word_ document
Download a processed Word document and get its download URL. Use the file_id returned by upload_word_document or create_document.
find_ text_ in_ document
Searches a Word document for the specified text and returns a list of matches.
format_ table
Formats a table in a Word document, applying borders, header row styling, and cell shading. Table indexes start at 0.
format_ text
Applies character formatting such as font, size, bold, italic, underline, and color to a specific text range within a paragraph of a Word document.
get_ all_ comments
Retrieves all comments in a Word document.
get_ comments_ by_ author
Retrieves the comments left by a specific author in a Word document.
get_ document_ info
Retrieves metadata for a Word document, such as title, author, and creation date.
get_ document_ outline
Retrieves the structural outline of a Word document, including paragraphs, headings, and tables, as JSON. Use it to understand a document's layout before reading or editing specific sections.
get_ document_ text
Extracts all text content from a Word document as plain text.
get_ paragraph_ text_ from_ document
Retrieves the text of a specific paragraph in a Word document by its index.
insert_ header_ near_ text
Inserts a heading near the specified text or paragraph in a Word document. Use target_text or target_paragraph_index to locate the anchor, and position to place the heading before or after it.
insert_ line_ or_ paragraph_ near_ text
Inserts a new paragraph near the specified text or paragraph in a Word document, either before or after it.
insert_ numbered_ list_ near_ text
Inserts a bulleted or numbered list before or after a specified text or paragraph in a Word document. Use target_text to locate the insertion point, or target_paragraph_index when working by paragraph…
list_ word_ documents
Lists all cached Word documents for the current user, returning a file list with file_id and file information.
merge_ table_ cells
Merges a rectangular range of cells in a table in a Word document into a single cell. Use this when you need to combine cells across rows or columns in an existing table.
protect_ document
Adds password protection to a Word document so it can only be opened with the given password.
replace_ block_ between_ manual_ anchors
Replaces the content between two anchor texts in a Word document with new paragraphs, useful for updating a marked section in place. If no end anchor is given, the block runs from the start anchor to …
replace_ paragraph_ block_ below_ header
Replaces the block of paragraphs directly below a given heading in a Word document, keeping the heading itself intact. Use it to swap out a whole section's body text in one call.
search_ and_ replace
Search a Word document for text and replace it with new text.
set_ table_ cell_ shading
Sets the shading of a single table cell in a Word document, identified by table, row, and column index. Use fill_color as a hex value and pattern to control the fill style, which defaults to 'clear'.
set_ table_ column_ width
Sets the width of a column in a table within a Word document.
unprotect_ document
Removes password protection from a Word document using the given password.
upload_ word_ document
Uploads a Word document (.doc or .docx) from a URL to the server for processing and returns a file_id to use in subsequent operations.