Add HTML table to Docling document
add_table_in_html_format_to_docling_documentAdd an HTML table to an existing cached document by parsing the HTML string into a structured table, with optional captions and footnotes.
Instructions
Add an HTML-formatted table to an existing document in the local document cache.
This tool parses the provided HTML table string, converts it to a structured table representation, and adds it to the specified document. It also supports optional captions and footnotes for the table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html_table | Yes | The HTML string representation of the table to add. | |
| document_key | Yes | The unique identifier of the document in the local cache. | |
| table_captions | No | A list of caption strings to associate with the table.. | |
| table_footnotes | No | A list of footnote strings to associate with the table. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_key | Yes |