agentToolCalls
Every tool call a view can show: agent.toolCalls(), followed by the calls
in agent.streamingToolCalls() whose arguments are still being written. A
streaming call appears as a running call holding the arguments read so
far, and is replaced by the finished call with the same id once that
arrives. The list keeps its reference while neither source changes.
Call it in a reactive context so both signal reads register.
import { agentToolCalls } from '@threadplane/angular/chat';Declaration · overload 1
export declare function agentToolCalls(agent: Pick<Agent, 'toolCalls' | 'streamingToolCalls'>): readonly ToolCall[];Parameters
agent· requiredPick<Agent, 'toolCalls' | 'streamingToolCalls'>
Returns
readonly ToolCall[]