agentskit.js

StreamChunk

Auto-generated API reference for StreamChunk.

Interface: StreamChunk

Defined in: core/dist/chat-Du42KmMf.d.ts:16

#Properties

#content?

optional content?: string

Defined in: core/dist/chat-Du42KmMf.d.ts:18


#metadata?

optional metadata?: Record<string, unknown>

Defined in: core/dist/chat-Du42KmMf.d.ts:21


#toolCall?

optional toolCall?: StreamToolCallPayload

Defined in: core/dist/chat-Du42KmMf.d.ts:19


#type

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

Defined in: core/dist/chat-Du42KmMf.d.ts:17


#usage?

optional usage?: TokenUsage

Defined in: core/dist/chat-Du42KmMf.d.ts:20

Explore nearby

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

On this page

Ask the docs
Ask anything about AgentsKit. Answers come from the docs corpus and cite their sources.