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
tsfunction createAssembleHtmlTool(storeFn: StoreAssetFn, config: GenerationConfig): ToolDefinition<PmeContext>
Parameters
| Name | Type |
|---|---|
storeFn | StoreAssetFn |
config | GenerationConfig |
Returns: ToolDefinition<PmeContext>
Was this page helpful?