(
toolCallId: string,
toolName: string,
input: unknown = {},
)
| 81 | * Helper to create a tool call event |
| 82 | */ |
| 83 | export function toolCall( |
| 84 | toolCallId: string, |
| 85 | toolName: string, |
| 86 | input: unknown = {}, |
| 87 | ): MockStreamEvent { |
| 88 | return { |
| 89 | type: "tool-call", |
| 90 | toolCallId, |
| 91 | toolName, |
| 92 | input, |
| 93 | }; |
| 94 | } |
| 95 | |
| 96 | /** |
| 97 | * Helper to create a tool result event |
no outgoing calls
no test coverage detected
searching dependent graphs…