Skip to main content

get_document

Retrieve a document and its version history.

Parameters

Returns

Document metadata including title, version history, and optionally the full HTML content of each version (shape depends on your MCP client and server version).

Example

Notes

  • Use include_html: false (or omit) when you only need metadata — it is faster and uses fewer tokens.
  • Use include_html: true with default version: current before edit_document. Pass version: all only when you need history.
  • After reading current HTML once, prefer edit_document instead of reading again or republishing the whole file.

Agent-ready documents