Called when a streaming tool yields a partial value. Tools that are async generators invoke this once per yielded value.
handleToolEvent(
chunk: unknown,
runId: string,
parentRunId: string,
tags: string[]
): any| Name | Type | Description |
|---|---|---|
chunk* | unknown | |
runId* | string | |
parentRunId | string | |
tags | string[] |