MCPcopy Index your code
hub / github.com/TanStack/ai / structuredOutputChanged

Function structuredOutputChanged

packages/ai-client/src/events.ts:161–174  ·  view source on GitHub ↗
(
    eventName: ChatClientStructuredOutputEventName,
    streamId: string,
    messageId: string,
    output: ChatClientStructuredOutputEvent,
    context?: ChatClientRunEventContext,
  )

Source from the content-addressed store, hash-verified

159 }
160
161 structuredOutputChanged(
162 eventName: ChatClientStructuredOutputEventName,
163 streamId: string,
164 messageId: string,
165 output: ChatClientStructuredOutputEvent,
166 context?: ChatClientRunEventContext,
167 ): void {
168 this.emitEvent(eventName, {
169 streamId,
170 messageId,
171 ...output,
172 ...context,
173 })
174 }
175
176 /**
177 * Emit approval requested event

Callers

nothing calls this directly

Calls 1

emitEventMethod · 0.45

Tested by

no test coverage detected