Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

prepare_placeholder_references Create TableReference entries for one or more columns so you can insert placeholderNode nodes in document content. Call this BEFORE generating document content that includes placeholderNode nodes. Returns a mapping of columnId to tableReferenceId that you must use as the tableReferenceId attribute on each placeholderNode. IMPORTANT: If you just created a new document, you MUST pass the documentId parameter with the new document’s ID.

Parameters

tableId
string
required
The ID of the table whose columns you want to reference.
columnIds
array<string>
required
Array of column IDs to create references for.
rowId
string
Optional. If the user wants to link to a specific row, pass the row ID here. All placeholders will then show that row’s values.
documentId
string
The target document ID. Required when no document is open in context (e.g. after creating a new document via create_document). Falls back to the context documentId if omitted.