Tools reference

Complete reference of every tool the GroupDocs.Annotation MCP server exposes to AI agents, with parameters, example prompts, and results. Captured from a live tools/list call against server version 26.9.0 (raw capture: tools-list.generated.json in this section’s source).

ToolWhat it does
get_annotationsLists every annotation in a document as JSON, with IDs, positions, and replies
add_annotationAdds a highlight, comment, arrow, or other annotation and saves an annotated copy
update_annotationEdits an existing annotation’s message or bounding box
remove_annotationsRemoves annotations by ID, or clears all of them
add_replyAdds a reply to an existing annotation — comment threads for review cycles
remove_repliesRemoves replies by ID, by author, or all of them
export_annotationsExports a document’s annotations to an XML file
import_annotationsMerges annotations from an XML file or another annotated document
generate_pages_previewRenders pages as PNG images the AI client can display inline
get_document_infoReturns file type, page count, size, and per-page dimensions
get_license_statusReports the active licensing mode and, under metered licensing, consumption

The FileInput shape

Every tool takes its document through the same file object — pass either a name from your storage folder or inline content:

{ "file": { "filePath": "contract.pdf" } }
FieldTypeDescription
filePathstringFile path or name in the configured storage folder
fileContentstringBase64-encoded file content (alternative to filePath)
fileNamestringOriginal filename with extension — required with fileContent. Since 26.9.0 it also works on its own, resolved from the storage folder exactly like filePath

You rarely write this JSON yourself: the AI agent does, from your plain-language prompt. Missing files are not an error to fear — the tool responds with the list of available files so the agent can correct itself.