get_document
Retrieve a document and its version history.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
document_id | uuid | Yes | The document ID to retrieve |
include_html | boolean | No | Set 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
Notes
- Use
include_html: false(or omit) when you only need metadata — it is faster and uses fewer tokens. - Use
include_html: truewhen an agent must read the document content to make decisions or generate updates.