get_element_text
Retrieve full text of headings and paragraphs from a datasheet's text layer, including type, page, and region. Use page images for tables and formulas to preserve structure.
Instructions
The full text of elements from the text layer, with their type, page and region. Use it for headings and paragraphs. Read table values, figures and formulas from get_page_image: the text layer can lose their structure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | The document: its reference from list_documents, project_status or add_document (the first 12 characters of its SHA-256). A longer SHA-256 prefix or the numeric document ID also works. | |
| element_ids | Yes | Element IDs from get_page_map or list_items, for example ["p7.T1", "p7.P3"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |