ToolCallDelta

data class ToolCallDelta(val index: Int, val id: String? = null, val name: String? = null, val argumentsChunk: String? = null) : Content.StreamResponse

An incremental streaming tool call chunk.

Contains partial data that must be accumulated across multiple chunks to form a complete ToolCall.

Constructors

Link copied to clipboard
constructor(index: Int, id: String? = null, name: String? = null, argumentsChunk: String? = null)

Properties

Link copied to clipboard

A fragment of the JSON arguments.

Link copied to clipboard
val id: String?

The tool call ID (arrives in the first chunk).

Link copied to clipboard
val index: Int

The index of this tool call (for multiple concurrent calls).

Link copied to clipboard
val name: String?

The tool name (arrives in the first chunk).