agentskit.js

StreamChunk

Auto-generated API reference for StreamChunk.

Interface: StreamChunk

Defined in: core/dist/index.d.ts:19

#Properties

#content?

optional content?: string

Defined in: core/dist/index.d.ts:21


#metadata?

optional metadata?: Record<string, unknown>

Defined in: core/dist/index.d.ts:24


#toolCall?

optional toolCall?: StreamToolCallPayload

Defined in: core/dist/index.d.ts:22


#type

type: "error" | "text" | "tool_call" | "tool_result" | "reasoning" | "usage" | "done"

Defined in: core/dist/index.d.ts:20


#usage?

optional usage?: TokenUsage

Defined in: core/dist/index.d.ts:23

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page