@sqlrooms/documents / createAddBlockDocumentTextBlockTool
Function: createAddBlockDocumentTextBlockTool()
createAddBlockDocumentTextBlockTool(
__namedParameters):Tool<{type:"heading"|"paragraph"|"list";text?:object[];level:1|2|3;items?:object[][];ordered:boolean;reasoning:string; },AddBlockDocumentTextBlockToolOutput>
Creates a tool for adding text blocks to a block document.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | CreateAddBlockDocumentTextBlockToolOptions |
Returns
Tool<{ type: "heading" | "paragraph" | "list"; text?: object[]; level: 1 | 2 | 3; items?: object[][]; ordered: boolean; reasoning: string; }, AddBlockDocumentTextBlockToolOutput>