get_document
Read a Kaiten document by URL or document_uid: returns metadata by default; set include_content=true for bounded text or format=prosemirror for structured content, with continuation support.
Instructions
Read a native Kaiten document by URL or document_uid. Returns metadata only by default. Set include_content=true to explicitly read bounded text, or format=prosemirror for original structured content. Follow text and section continuation. Does not fetch linked documents or files.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| detail | No | ||
| format | No | text | |
| document_uid | No | ||
| text_offsets | No | JSON pointer -> character offset. Reuse the same page and all returned text cursors to continue. | |
| include_content | No | ||
| section_offsets | No | JSON pointer -> nested array offset. Reuse the same page to continue a section. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | No | ||
| error | No | ||
| items | No | ||
| limit | No | ||
| total | No | ||
| offset | No | ||
| metadata | No | ||
| warnings | No | ||
| pagination | No | ||
| next_offset | No | ||
| continuation | No | ||
| comments_limit | No | ||
| comments_offset | No | ||
| page_fingerprint | No | ||
| comments_included | No | ||
| next_text_offsets | No | ||
| comments_next_offset | No | ||
| total_in_selected_pages | No | ||
| comments_page_fingerprint | No |