projectStreamingToolCalls
Display only: the root tool calls whose arguments are still arriving, for
the streamingToolCalls of a core snapshot. These are the calls
projectToolCalls withholds (see selectCalls): each has the argument text
so far in argsText and, when that text can be read, a best-effort args.
A call leaves this list when its arguments are final and it enters the
projected tool calls under the same id.
previous is an optional identity hint, as in projectMessages.
import { projectStreamingToolCalls } from '@threadplane/ag-ui';Declaration · overload 1
export declare function projectStreamingToolCalls(snapshot: Projectable, previous?: readonly StreamingToolCall[]): readonly StreamingToolCall[];Parameters
snapshot· requiredProjectableprevious· optionalreadonly StreamingToolCall[]
Returns
readonly StreamingToolCall[]