Skip to content

createAssembleHtmlTool

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/pme-core/src/tools/assemble-html.tool.ts

Create the assemble_html tool. Accepts a storeFn so it can auto-store the generated HTML and return only a summary (avoids sending 30K+ chars back through the agent loop which causes API timeouts).

Signature

ts
function createAssembleHtmlTool(storeFn: StoreAssetFn, config: GenerationConfig): ToolDefinition<PmeContext>

Parameters

NameType
storeFnStoreAssetFn
configGenerationConfig

Returns: ToolDefinition<PmeContext>

Was this page helpful?

Download as PDF