Create new Docling document
create_new_docling_documentCreate a new, empty Docling document ready for incremental authoring, then populate it with titles, headings, paragraphs, and lists using related tools.
Instructions
Create a new, empty Docling document ready for incremental authoring.
Use this tool when you want to build a document from scratch by subsequently calling add_title_to_docling_document, add_section_heading_to_docling_document, add_paragraph_to_docling_document, open_list_in_docling_document, and related tools. To convert an already-existing file (PDF, DOCX, HTML, etc.) instead, use convert_document_into_docling_document.
The document is stored in the local cache under a unique key and the prompt text is recorded as a furniture item for reference.
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": {
"prompt": "<prompt>"
},
"name": "create_new_docling_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The prompt text to include in the new document. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| document_key | Yes |