Get overview of Docling document anchors
get_overview_of_document_anchorsRetrieve a structured overview of a cached document's hierarchy and element types, with anchor references and labels for each item.
Instructions
Retrieve a structured overview of a document from the local document cache.
This tool returns a text representation of the Docling document's structure, showing the hierarchy and types of elements within the document. Each line in the output includes the document anchor reference and item label.
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_key": "<document_key>"
},
"name": "get_overview_of_document_anchors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_key | Yes | The unique identifier of the document in the local cache. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| structure | Yes |