Get Kdk Document Markdown
get_kdk_document_markdownRetrieve the full text of a Turkish Ombudsman (KDK) decision by document ID as paginated Markdown, with optional PDF fallback when OCR text is not ready.
Instructions
Use this when retrieving full text of a Turkish Ombudsman (KDK) decision. Returns paginated Markdown. Optionally pass the PDF info from search results (yayin_url, karar_tarihi) to enable PDF fallback when OCR is not ready.
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": {
"evrak_id": "<evrak_id>"
},
"name": "get_kdk_document_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evrak_id | Yes | evrak_id (document id) from search_kdk_decisions results | |
| yayin_url | No | Optional published PDF path (karaR_YAYIN_URL) from search results, used as fallback when OCR text is not ready. | |
| page_number | No | Page number for paginated Markdown content (1-indexed). Default is 1 (first 5,000 characters). | |
| karar_tarihi | No | Optional decision date (karaR_TARIH) from search results, needed for the PDF download fallback. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||