> ## Documentation Index
> Fetch the complete documentation index at: https://00doc-web.vercel.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# get_document

> Retrieve a document and its version history.

# 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

```
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.

<Card title="Agent-ready documents" icon="sparkles" href="/core-concepts/agent-ready-documents" />
