read_document
Retrieve a document's text from a Knowledge Agent corpus to verify citations or inspect stored passages; returns reconstructed content from overlapping passage chunks.
Instructions
Read the text of a document in a Knowledge Agent's corpus, for example to check a citation.
The text is rebuilt from the stored passages: each passage starts with a "title | Part n of m:" header, and neighboring passages can overlap.
Args: agent_id: Knowledge Agent ID. document_id: Document ID, from list_documents or an answer's citations. max_chars: Maximum number of characters to return (default 20,000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| max_chars | No | ||
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||