Skip to main content

get_document

Retrieve a document and its version history.

Parameters

ParameterTypeRequiredDescription
document_iduuidYesThe document ID to retrieve
include_htmlbooleanNoSet to true to include full HTML content

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

Tool call: get_document
  document_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  include_html: true

Notes

  • Use include_html: false (or omit) when you only need metadata — it is faster and uses fewer tokens.
  • Use include_html: true when an agent must read the document content to make decisions or generate updates.

Agent-ready documents