ToolStreamWriter

Lets a tool's executor write custom events into the agent's active output stream. Distinct from the streaming-tool mechanism — pushes arbitrary StreamEvents.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun write(event: StreamEvent)
Link copied to clipboard
abstract suspend fun writeData(value: JsonElement)