show
Retrieve a specific document page or check whether a document is indexed. Use page_number to read full page text; omit it to get document metadata.
Instructions
Use to read a specific page, or to check whether a document is indexed.
Use to read a specific page, or to check whether a document is already indexed.
Without page_number: shows document metadata (pages, chunks, collection). With page_number: shows the full text for that page.
Args: document_name: Document filename (e.g., 'report.pdf'). page_number: Page number (1-indexed); nonpositive means metadata only. collection: Optional collection scope.
Returns: Document metadata (nonpositive page_number) or full page text. Missing documents/pages return ordinary not-found text, not an Error: result. Other failures return Error: ...; connection errors add recovery guidance.
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": {
"document_name": "<document_name>"
},
"name": "show"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | No | ||
| page_number | No | ||
| document_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |