AIDK API Reference / aidk/testing / createToolCallStreamSequence
Function: createToolCallStreamSequence() ​
ts
function createToolCallStreamSequence(
toolName: string,
toolInput: Record<string, unknown>,
toolResult: unknown): StreamChunk[];Defined in: packages/shared/src/testing/fixtures.ts:451
Create a sequence of stream chunks for a tool call response
Parameters ​
| Parameter | Type |
|---|---|
toolName | string |
toolInput | Record<string, unknown> |
toolResult | unknown |