doc.get
Retrieve a saved document by doc_id or URL to inspect metadata, headings, recorded matches, and a line window of its text; set include_text false for metadata only.
Instructions
One saved document: metadata, headings, recorded matches, and a line window of the text. Address it by doc_id or by url. The full text is an artifact, so artifact.search and artifact.read_lines work on it too.
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": "doc.get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Any form of the saved URL; fragments and tracking parameters are ignored. | |
| doc_id | No | Document handle (doc_*). | |
| end_line | No | Last line (default 200). | |
| start_line | No | First line of text to return (default 1). | |
| include_text | No | Set false for metadata only. | |
| include_links | No | Include the outbound links recorded at capture time. |