groupdocs-total-mcp
v26.12.0MCP server for GroupDocs.Total — annotate, sign, convert, watermark, parse, redact documents via AI.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
signature_search_image_signatures
[GroupDocs.Signature] Searches a document for embedded image signatures (logo, stamp image, picture overlays) and returns each image's page, position, size, and content as a base64-encoded PNG ready for display. Supports PDF, DOCX, XLSX, PPTX, and 30+ more document formats. Do NOT pre-check whether the file exists — pass the filename the user provided directly. Returns a JSON object with `found` (count) and `signatures` (array with `index`, `page`, position, dimensions, `sizeBytes`, and `imageBase64`). On failure, the response text starts with 'Image signature search failed for' followed by…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents. |
signature_search_digital_signatures
[GroupDocs.Signature] Searches a document for digital certificate signatures and returns details for each: signer name, issuer, certificate serial number, validity period, sign timestamp, validity status, and any comments or reason attached to the signature. Supports PDF and Office documents (DOCX, XLSX, PPTX). Do NOT pre-check whether the file exists — pass the filename the user provided directly. Returns a JSON object with `found` (count) and `signatures` (array with `signTime`, `isValid`, `comments`, `thumbprint`, and a nested `certificate` object). On failure, the response text starts wi…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents. |
annotation_remove_annotations
[GroupDocs.Annotation] Removes annotations from a document by ID and saves the result back to storage. Supports PDF, DOCX, XLSX, PPTX, and 50+ more document and image formats. Call get_annotations first to retrieve annotation IDs, then pass them here. Omit 'ids' to remove every annotation in the document. Call this tool whenever the user asks to delete, remove, or clear annotations. Do NOT pre-check whether files exist — pass the filename the user provided directly. Returns a saved-path message ('Removed N annotation(s) from <file>'). On failure, the response text starts with 'Annotation rem…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
ids | string | null | Comma-separated annotation IDs to remove, e.g. '1,3,5'. Omit to remove all. |
password | string | null | Password for protected documents |
metadata_read_metadata
[GroupDocs.Metadata] Reads all metadata properties from a document (author, title, creation date, custom properties) and returns them as JSON. Call this tool immediately whenever the user asks to read metadata, show document properties, or get author/title/date info. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents |
annotation_update_annotation
[GroupDocs.Annotation] Updates an existing annotation's message and/or bounding box, then saves the result back to storage. Supports PDF, DOCX, XLSX, PPTX, and 50+ more document and image formats. Call get_annotations first to retrieve the annotation 'id' and current values. Pass any subset of message/x/y/width/height — omitted parameters keep their current value. Call this tool whenever the user asks to edit, modify, move, or resize an existing annotation. Do NOT pre-check whether files exist — pass the filename the user provided directly. Returns a saved-path message ('Updated annotation…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
id * | integer | Annotation ID to update (from get_annotations) |
height | integer | null | New height. Omit to keep current. |
message | string | null | New message/comment text. Omit to keep current. |
password | string | null | Password for protected documents |
width | integer | null | New width. Omit to keep current. |
x | integer | null | New X position. Omit to keep current. |
y | integer | null | New Y position. Omit to keep current. |
merger_split
[GroupDocs.Merger] Splits a document into separate files by extracting specific pages, saving each as an individual document to storage. Call this tool immediately whenever the user asks to split, extract pages, or separate a document into parts. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.
| Parameter | Type | Description |
|---|---|---|
file * | object | |
pages * | string | Page numbers to extract as separate documents (1-based), e.g. '3,6,8' |
password | string | null | Password for protected documents |
comparison_compare
[GroupDocs.Comparison] Compares two documents and highlights the differences between them. Call this tool immediately whenever the user asks to compare, diff, or check differences between two files. Do NOT pre-check whether files exist — just pass the filenames the user provided. The tool resolves files from storage and returns an error with available files if a name is not found. Returns a change count summary and saves the marked-up result document to storage.
| Parameter | Type | Description |
|---|---|---|
sourceFile * | object | Source (original) document — provide the filename as given by the user, e.g. 'source.pdf' |
targetFile * | object | Target (modified) document to compare against — provide the filename as given by the user, e.g. 'target.pdf' |
sourcePassword | string | null | Password for source document, if password-protected |
targetPassword | string | null | Password for target document, if password-protected |
signature_verify
[GroupDocs.Signature] Verifies signatures in a document and returns the result (valid/invalid, counts) as JSON. Supports text, QR code, barcode, and digital signatures. Supports PDF, DOCX, XLSX, PPTX, and 30+ more document formats. Call this tool immediately whenever the user asks to verify a signature, check if a document is signed, or validate a signature. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available files if a name is not found. Returns a JSON object with `isValid`, `succeeded` (co…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents |
type | string | Signature type to verify: text, qrcode, barcode, digital, all |
parser_extract_tables
[GroupDocs.Parser] Extracts tables from a document and returns them as Markdown (default) or JSON. Markdown tables render instantly in VS Code, GitHub, and AI chat — use this format to visually review table data right in the response. Use format='json' to get a structured array of rows for programmatic processing or further manipulation. Call this tool immediately whenever the user asks to extract, read, or view tables from a document. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available fi…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
format | string | Output format: 'markdown' (default — renders in IDE and chat) or 'json' (structured data) |
page | integer | null | Page number to extract tables from (1-based). Omit for all pages. |
password | string | null | Password for protected documents |
redaction_erase_metadata
[GroupDocs.Redaction] Erases metadata fields from a document (author, title, company, keywords, dates, etc.) and saves the cleaned file to storage. Use to remove personally identifiable or confidential information embedded in document properties before sharing. Call this tool whenever the user asks to erase, strip, clean, or remove metadata from a document. Accepted fields (comma-separated): All, Author, Title, Subject, Category, Keywords, Description, Creator, Producer, CreatedTime, LastPrinted, LastSavedTime, TotalEditingTime, NameOfApplication, Manager, Company, ContentStatus, Version, Revi…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
fields | string | Comma-separated metadata fields to erase (default: 'All'). E.g. 'Author,Company,CreatedTime' |
password | string | null | Password for protected documents |
markdown_convert_to_markdown
[GroupDocs.Markdown] Converts a document to clean, structured Markdown (.md). Supports PDF, DOCX/DOC/RTF/ODT, XLSX/XLS/ODS/CSV/TSV, EPUB, MOBI, TXT, CHM and other formats. By default, images are embedded as base64 data URIs so the output is fully self-contained. Use 'images' to control image handling: 'base64' (default), 'file' (save images alongside the .md and reference by path), or 'skip' (omit images — text-only). Use 'pages' to limit output to specific 1-based pages or worksheets. The generated Markdown is saved to storage AND the content is returned inline. Call this tool immediately w…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
flavor | string | Markdown dialect: 'github' (default) or 'commonmark' |
frontMatter | boolean | Include YAML front matter (title, author, format, page count) at the top of the output |
images | string | Image handling: 'base64' (default — embed as data URIs, self-contained), 'file' (save images alongside .md), or 'skip' (text-only, no images) |
pages | string | null | Comma-separated 1-based page or worksheet numbers to convert, e.g. '1,3,5'. Omit for the whole document. |
password | string | null | Password for protected documents |
redaction_redact_image_area
[GroupDocs.Redaction] Covers a rectangular area of a document page with a solid-color box, permanently hiding image content (e.g. faces, signatures, stamps). Coordinates are in pixels from the top-left corner of the page. Call this tool whenever the user asks to hide, cover, or black out an image area or region in a document. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.
| Parameter | Type | Description |
|---|---|---|
file * | object | |
height * | integer | Height (pixels) of the area to redact |
width * | integer | Width (pixels) of the area to redact |
x * | integer | X coordinate (pixels) of the top-left corner of the area to redact |
y * | integer | Y coordinate (pixels) of the top-left corner of the area to redact |
color | string | Fill color for the redaction box — named color (e.g. 'Black', 'Red') or hex (e.g. '#FF0000'). Default: 'Black' |
password | string | null | Password for protected documents |
annotation_import_annotations
[GroupDocs.Annotation] Imports annotations from another source (an XML annotations file or an annotated document) and saves the merged document back to storage. Supports PDF, DOCX, XLSX, PPTX, and 50+ more document and image formats for the target. Source must be either an XML file produced by export_annotations, or another annotated document of the same engine format. Call this tool whenever the user asks to import, merge, or apply annotations from one document to another. Do NOT pre-check whether files exist — pass the filenames the user provided directly. Returns a saved-path message ('Im…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
source * | object | Source file containing annotations to import — an XML file (.xml) or an annotated document (.pdf, .docx, etc.). |
password | string | null | Password for protected target documents |
watermark_remove_watermarks
[GroupDocs.Watermark] Removes watermarks from a document and saves the cleaned file to storage as '<name>_unwatermarked.<ext>'. Supports PDF, DOCX, XLSX, PPTX, and 50+ more document and image formats. Filter mode: pass 'text' to remove only watermarks whose text contains this string; omit to remove ALL watermarks found by Search(). Call this tool whenever the user asks to remove a watermark, strip watermarks, clean / unstamp a document, or remove a specific tagged watermark. Do NOT pre-check whether files exist — pass the filename the user provided directly. Returns a saved-path message ('Re…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents |
text | string | null | Remove only watermarks whose text contains this string (case-insensitive). Omit to remove every watermark in the document. |
signature_search_text_signatures
[GroupDocs.Signature] Searches a document for embedded text signatures (stamps, labels, native text annotations) and returns each signature's text content, page, position, and implementation type. Supports PDF, DOCX, XLSX, PPTX, and 30+ more document formats. Optionally filters to signatures whose text contains a specific string. Note: this searches for signature objects — to search for arbitrary text inside document content use a text-extraction tool instead. Do NOT pre-check whether the file exists — pass the filename the user provided directly. Returns a JSON object with `found` (count)…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents. |
text | string | null | Return only text signatures whose content contains this string. Omit to return all text signatures. |
annotation_export_annotations
[GroupDocs.Annotation] Extracts annotations from a document and saves them as an XML file (suitable for re-import via import_annotations). Supports PDF, DOCX, XLSX, PPTX, and 50+ more document and image formats. Call this tool whenever the user asks to export, extract, serialize, or save annotations to XML. Do NOT pre-check whether files exist — pass the filename the user provided directly. Returns a saved-path message ('Exported N annotation(s) from <file> to <name>.annotations.xml'). On failure, the response text starts with 'Annotation export failed for' followed by the underlying excepti…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents |
parser_extract_barcodes
[GroupDocs.Parser] Extracts all barcodes and QR codes from a document and returns their decoded values and type names as JSON. Detects Code128, QR Code, PDF417, DataMatrix, EAN-13, EAN-8, UPC, Aztec, and many more symbologies. Call this tool immediately whenever the user asks to read, scan, or extract barcodes or QR codes from a document. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.
| Parameter | Type | Description |
|---|---|---|
file * | object | |
page | integer | null | Page number to scan (1-based). Omit for all pages. |
password | string | null | Password for protected documents |
parser_extract_images
[GroupDocs.Parser] Extracts all images from a document and saves them to storage. Returns a list of saved image file paths or download URLs. Call this tool immediately whenever the user asks to extract images, get images, or save images from a document. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.
| Parameter | Type | Description |
|---|---|---|
file * | object | |
page | integer | null | Page number to extract images from (1-based). Omit for all pages. |
password | string | null | Password for protected documents |
get_document_page_image
Renders one or more document pages as PNG images and returns them INLINE so AI clients can display them directly. Backed by GroupDocs.Viewer — supports 170+ formats including PDF, DOCX, XLSX, PPTX, ODT, JPEG, PNG, TIFF, CAD, EPUB, and more. Pass 'pages' as a comma-separated list (e.g. '1,3,5') or a range ('1-3'); omit to render only page 1. Use whenever the user asks to preview, show, render, view, or visualise document pages. Maximum 5 pages per call to stay under MCP client message size limits; batch further pages in additional calls. Do NOT pre-check whether files exist — pass the filen…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
pages | string | null | Pages to render, e.g. '1,3,5' or '1-3'. Omit for page 1 only. |
password | string | null | Password for protected documents |
annotation_add_annotation
[GroupDocs.Annotation] Adds an annotation to a document and saves the annotated file as '<name>_annotated.<ext>'. Supported types: textfield, area, point, arrow, highlight, underline, strikeout. Supports PDF, DOCX, XLSX, PPTX, and 50+ more document and image formats. Call this tool whenever the user asks to annotate, comment, highlight, underline, strikeout, or mark up a document. Do NOT pre-check whether files exist — pass the filename the user provided directly. The tool resolves files from storage and returns an error with available files if a name is not found. Returns a saved-path messa…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
text * | string | Annotation text or comment |
type * | string | Annotation type: textfield, area, point, arrow, highlight, underline, strikeout |
page | integer | Page number (1-based) |
password | string | null | Password for protected documents |
x | integer | X position (document coordinates) |
y | integer | Y position (document coordinates) |
merger_merge
[GroupDocs.Merger] Merges 2–4 documents into a single file and saves the result to storage. Supports PDF, DOCX, XLSX, PPTX and more. Call this tool immediately whenever the user asks to merge, combine, or join documents together. Do NOT pre-check whether files exist — just pass the filenames the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.
| Parameter | Type | Description |
|---|---|---|
file1 * | object | First document |
file2 * | object | Second document |
file3 | object | null | Third document (optional) |
file4 | object | null | Fourth document (optional) |
markdown_compose_from_markdown
[GroupDocs.Markdown] Composes a document (DOCX, PDF, HTML, RTF, ODT, etc.) FROM Markdown. Provide the Markdown either as inline text ('markdown' parameter) OR as a file from storage ('sourceFile' parameter — pointing to an existing .md). The target format is inferred from the extension of 'outputFileName'. Call this tool whenever the user asks to export, render, compose, or convert Markdown to a document format like Word, PDF, or HTML.
| Parameter | Type | Description |
|---|---|---|
outputFileName * | string | Output filename whose extension determines the target format, e.g. 'report.docx', 'readme.pdf', 'notes.html' |
markdown | string | null | Inline Markdown text. Leave empty when passing 'sourceFile' instead. |
sourceFile | object | null | Source Markdown file from storage (used when 'markdown' is not provided) |
get_document_info
Returns basic information about ANY document: file type, page count, and size as JSON. Backed by GroupDocs.Parser — supports 170+ formats including PDF, DOCX, XLSX, PPTX, ODT, JPEG, PNG, TIFF, CAD, EPUB, EML, MSG, and more. Use this as the first call when the user asks 'what is this file?' or 'how many pages?' before invoking format-specific tools. Do NOT pre-check whether files exist — pass the filename the user provided directly. Returns a JSON object with `fileName`, `fileType` (extension), `fileTypeName` (human-readable), `pageCount`, `size`. On failure, the response text starts with '…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents |
get_license_status
Returns how this MCP server is licensed, and — under metered licensing — how much has been consumed. Call this when the user asks about licensing, evaluation limitations, metered usage, remaining credit, or which product engine version is running. Returns a JSON object with `mode` ("evaluation", "licensed" or "metered"), `licensed` (true for both licensed and metered), `consumption` (null unless metered; otherwise `quantity` and `credit`, or `error` if the reading failed), and `server` / `engine` name and version. Takes no arguments and never modifies anything.
signature_sign
[GroupDocs.Signature] Signs a document with a text, QR code, barcode, or digital certificate signature and saves the signed file to storage. Supports PDF, DOCX, XLSX, PPTX, and 30+ more document formats. Call this tool immediately whenever the user asks to sign a document, add a signature, or apply a digital signature. Do NOT pre-check whether files exist — just pass the filenames the user provided. The tool resolves files from storage and returns an error with available files if a name is not found. Returns a saved-path message ('Signed <file> with <type> signature') and the download URL or…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
type * | string | Signature type: text, qrcode, barcode, digital |
certificate | object | null | Digital certificate file (for type 'digital') |
certificatePassword | string | null | Certificate password |
password | string | null | Password for protected documents |
text | string | null | Signature text (for text/qrcode/barcode types) |
parser_extract_metadata
[GroupDocs.Parser] Extracts metadata from a document file (author, title, creation date, page count, etc.) and returns it as JSON. Call this tool immediately whenever the user asks to extract metadata or get document properties from a file. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents |
watermark_search_watermarks
[GroupDocs.Watermark] Searches for watermarks in a document and returns their details (type, text, position, size) as JSON. Call this tool immediately whenever the user asks to search for watermarks, find watermarks, or check if a document has watermarks. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents |
conversion_get_supported_formats
[GroupDocs.Conversion] Lists every output format the document can be converted TO via ConversionConvert. Returns the source format plus the full list of viable target extensions (pdf, docx, xlsx, pptx, html, jpg, png, …). Use BEFORE ConversionConvert when the user asks 'what can I convert this to?' or to validate a target extension is supported. Do NOT pre-check whether files exist — pass the filename the user provided directly. Returns a JSON object with `source` (extension), `count`, and `targets` (array of supported target extensions). On failure, the response text starts with 'Supporte…
| Parameter | Type | Description |
|---|---|---|
file * | object |
signature_search_qr_codes
[GroupDocs.Signature] Searches a document for QR code signatures and returns each QR code's decoded text, page, position, and — when returnImage is true — the QR code graphic as a base64-encoded PNG. Supports PDF, DOCX, XLSX, PPTX, and 30+ more document formats. Optionally filters results to QR codes whose decoded text contains a specific string. Do NOT pre-check whether the file exists — pass the filename the user provided directly. Returns a JSON object with `found` (count) and `signatures` (array with `page`, `type`, `text`, position, dimensions, and optional `imageBase64`). On failur…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents. |
returnImage | boolean | Include the QR code graphic as a base64 PNG in the response. |
text | string | null | Return only QR codes whose decoded text contains this string. Omit to return all QR codes. |
redaction_redact_annotations
[GroupDocs.Redaction] Redacts or deletes annotations (comments, sticky notes, highlights) in a document and saves the result to storage. Can replace matching annotation text with a placeholder, or delete annotations entirely. Call this tool whenever the user asks to redact, remove, hide, or clean up comments or annotations in a document. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.
| Parameter | Type | Description |
|---|---|---|
file * | object | |
deleteAll | boolean | When true, deletes matched annotations entirely instead of replacing their text (default: false) |
password | string | null | Password for protected documents |
pattern | string | null | Regex pattern to match annotations. Omit to target all annotations. |
replacement | string | Replacement text for matched annotation content. Ignored when deleteAll is true (default: '[REDACTED]') |
conversion_convert
[GroupDocs.Conversion] Converts a document to a different format and saves the result to storage. Supports PDF, DOCX, XLSX, PPTX, HTML, PNG, JPG, and 50+ more formats. Call this tool immediately whenever the user asks to convert, change format, export, or save as a different file type. Do NOT pre-check whether files exist — just pass the filenames the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.
| Parameter | Type | Description |
|---|---|---|
file * | object | |
format * | string | Target format: pdf, docx, xlsx, pptx, html, png, jpg, csv, txt, rtf |
password | string | null | Password for protected documents |
signature_search_barcodes
[GroupDocs.Signature] Searches a document for barcode signatures (Code39, Code128, EAN, QR-adjacent 1D barcodes, etc.) and returns each barcode's decoded text value, page, position, and — when returnImage is true — the barcode graphic as a base64-encoded PNG. Supports PDF, DOCX, XLSX, PPTX, and 30+ more document formats. Optionally filters results to barcodes whose text contains a specific string. Do NOT pre-check whether the file exists — pass the filename the user provided directly. Returns a JSON object with `found` (count) and `signatures` (array with `page`, `type`, `text`, position…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents. |
returnImage | boolean | Include the barcode graphic as a base64 PNG in the response. |
text | string | null | Return only barcodes whose decoded text contains this string. Omit to return all barcodes. |
parser_extract_text
[GroupDocs.Parser] Extracts plain text from a document file. Supports PDF, DOCX, XLSX, PPTX, TXT, HTML, CSV, EML, MSG, RTF, ODT, EPUB, and 50+ more formats. Call this tool immediately whenever the user asks to extract text, read text, or get the content of a document. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.
| Parameter | Type | Description |
|---|---|---|
file * | object | |
page | integer | null | Page number to extract from (1-based). Omit for all pages. |
password | string | null | Password for protected documents |
annotation_remove_replies
[GroupDocs.Annotation] Removes replies from annotations and saves the result back to storage. Supports PDF, DOCX, XLSX, PPTX, and 50+ more document and image formats. Filter mode: pass 'replyIds' (comma-separated) to remove by reply ID, OR pass 'userName' to remove all replies from one user. Pass neither to remove ALL replies in the document. Call this tool whenever the user asks to delete a reply, remove a comment thread, or clear replies from one author. Do NOT pre-check whether files exist — pass the filename the user provided directly. Returns a saved-path message ('Removed N reply / rep…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents |
replyIds | string | null | Comma-separated reply IDs to remove, e.g. '12,34'. Omit to fall back to userName / remove-all. |
userName | string | null | Remove all replies authored by this user name. Mutually exclusive with replyIds. |
metadata_remove_metadata
[GroupDocs.Metadata] Removes all metadata from a document and saves the cleaned file to storage. Call this tool immediately whenever the user asks to remove metadata, strip properties, or clean a document before sharing. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents |
redaction_redact_text
[GroupDocs.Redaction] Redacts text matching a regex pattern from a document and saves the redacted file to storage. Use to permanently hide sensitive data like SSNs, emails, phone numbers, or any custom pattern. Call this tool immediately whenever the user asks to redact, hide, remove, or black out text in a document. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.
| Parameter | Type | Description |
|---|---|---|
file * | object | |
pattern * | string | Regex pattern to match text for redaction, e.g. '\d{3}-\d{2}-\d{4}' for SSN |
password | string | null | Password for protected documents |
replacement | string | Replacement text (default: '[REDACTED]') |
annotation_get_annotations
[GroupDocs.Annotation] Lists all annotations in a document as JSON. Supports PDF, DOCX, XLSX, PPTX, and 50+ more document and image formats. Each entry includes 'id' (use this with remove_annotations / update_annotation / add_reply), 'type', 'message', 'page' (1-based), bounding box, user, and replies. Call this tool first whenever the user asks to list, show, inspect, or review annotations or comments. Do NOT pre-check whether files exist — pass the filename the user provided directly. Returns a JSON object with `found` (count) and `annotations` (array). On failure, the response text starts…
| Parameter | Type | Description |
|---|---|---|
file * | object | |
password | string | null | Password for protected documents |
watermark_add_watermark
[GroupDocs.Watermark] Adds a text watermark to a document and saves the watermarked file to storage. Call this tool immediately whenever the user asks to add a watermark, stamp text onto a document, or mark a document as draft/confidential. Do NOT pre-check whether files exist — just pass the filename the user provided. The tool resolves files from storage and returns an error with available files if a name is not found.
| Parameter | Type | Description |
|---|---|---|
file * | object | |
text * | string | Watermark text to add |
fontSize | integer | Font size (default 36) |
password | string | null | Password for protected documents |
rotation | integer | Rotation angle in degrees (default -45) |
annotation_add_reply
[GroupDocs.Annotation] Adds a reply to an existing annotation and saves the result back to storage. Supports PDF, DOCX, XLSX, PPTX, and 50+ more document and image formats. Call get_annotations first to retrieve the target annotation 'id'. Call this tool whenever the user asks to reply to an annotation, add a comment thread, or respond to a review note. Do NOT pre-check whether files exist — pass the filename the user provided directly. Returns a saved-path message ('Added reply to annotation <id> in <file>'). On failure, the response text starts with 'Reply add failed for' followed by the u…
| Parameter | Type | Description |
|---|---|---|
annotationId * | integer | Annotation ID to reply to (from get_annotations) |
comment * | string | Reply comment text |
file * | object | |
password | string | null | Password for protected documents |
userName | string | Name of the user posting the reply. Defaults to 'mcp-user'. |