get_document
Fetches the full text of a document by ID from search or source lists, with optional timestamped segments for videos and podcasts.
Instructions
Fetch the full text (and optionally timestamped segments) of any document ID returned by search or list_sources.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"doc_id": "<doc_id>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | Document ID (e.g. 'protocol:sleep', 'article:why-i-avoid-the-sun', 'yt:coU8aHzTvpk'). | |
| max_chars | No | ||
| include_segments | No | Include individual timestamped video/podcast segments. |