Add paragraph to Docling document
add_paragraph_to_docling_documentInsert a new paragraph into a cached document under a specified section header and level, allowing you to extend existing documents with additional text content.
Instructions
Add a paragraph of text to an existing document in the local document cache.
This tool inserts a new paragraph under the specified section header and level into a document that has already been processed and stored in the cache.
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>",
"paragraph": "<paragraph>"
},
"name": "add_paragraph_to_docling_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paragraph | Yes | The text content to add as a paragraph. | |
| document_key | Yes | The unique identifier of the document in the local cache. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_key | Yes |