# Find and read team documents

Search Confluence or Notion and answer from the live source.

Canonical page: https://ontlgy.io/docs/guides/team-documents/

An administrator must first connect [Confluence](https://ontlgy.io/docs/sources/confluence/) or [Notion](https://ontlgy.io/docs/sources/notion/). Use authenticated HTTP MCP for live reads. No document source is required for code-only workflows.

## Start with a document you know exists

Choose a runbook or decision inside an approved scope. Replace the topic below with its actual title or subject:

```text
Use ontlgy to find our deployment rollback runbook. Inspect the matching
record, read the relevant live source content, and summarize the checks
before rollback. Cite the source URL and report any incomplete coverage.
Do not execute the runbook.
```

## Follow discovery with evidence

1. Call `docs_find` with `{"query":"deployment rollback","limit":5}`. Add `source: "confluence"` or `source: "notion"` to narrow results.
2. Copy a returned `handle` into `doc_get`. Inspect its outline, freshness, source revision and any discovery evidence.
3. Pass that same handle to `doc_read` with `limit: 6000`.
4. If more text is needed, pass the returned `nextCursor` as `cursor`. Stop when the relevant evidence is read or `nextCursor` is null.

Do not construct handles from guessed page IDs. Use the exact value returned by discovery. A `locator` from a discovery card must be paired with its source revision when requesting a targeted read.

## What to expect

`docs_find` and `doc_get` return indexed metadata and optional generated discovery records. `doc_read` returns normalized text blocks fetched from the current source after access checks. Discovery cards are not a replacement for the source evidence.

An answer should cite the source URL, say which instructions came from it, and mention omissions such as unsupported blocks or partial reads. The example is a workflow template; it does not imply your installation contains a rollback runbook.

## Handle changes and missing results

A changed source invalidates older cursors and locators. Refresh the record and start a new read. If access is unavailable or restricted, do not reuse old content as current evidence.

Search uses bounded indexed fields rather than complete document bodies. Try title words, headings or source filters. Optional [AI enrichment](https://ontlgy.io/docs/operate/ai-providers/) can add grounded discovery terms, but does not guarantee a match.
