mop_get_document
Retrieve complete documents from digital scholarly editions using a document ID. Get metadata and content, with optional TEI-XML inclusion.
Instructions
Vollständiges Dokument abrufen.
PURPOSE: Detaillierte Ansicht eines spezifischen Dokuments
WHEN TO USE:
User möchte ein Aktenstück lesen
Nach erfolgreicher Suche → Details anzeigen
WHEN NOT TO USE:
Für Übersicht → nutze browse_documents() oder search_documents()
Args: document_id: Die xml:id des Dokuments include_xml: Ob TEI-XML inkludiert werden soll ctx: FastMCP Context
Returns: Document-Objekt mit Metadaten und Content
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_id": "<document_id>",
"include_xml": "<include_xml>"
},
"name": "mop_get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | ||
| include_xml | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique document ID | |
| url | No | URL to online edition | |
| title | Yes | Document title | |
| author | No | Author | |
| content | No | Full text or excerpt | |
| tei_xml | No | Original TEI-XML | |
| doc_date | No | Date (ISO 8601) | |
| doc_type | Yes | Document type (letter, diary, lecture, document) | |
| metadata | No | Additional metadata | |
| author_id | No | Author ID |