Optional
argsIf provided, a JSON substring of the arguments to the tool call
Optional
idIf provided, a substring of an identifier for the tool call
Optional
indexIf provided, the index of the tool call in a sequence
Optional
nameIf provided, a substring of the name of the tool to be called
Generated using TypeDoc
A chunk of a tool call (e.g., as part of a stream). When merging ToolCallChunks (e.g., via AIMessageChunk.add), all string attributes are concatenated. Chunks are only merged if their values of
index
are equal and not None.Example