langGraphToolCalls

Every tool call in a raw transcript, such as snapshot.langGraphMessages, paired with its tool message. A call is error when that message's status is 'error'.

import { langGraphToolCalls } from '@threadplane/langgraph';

Declaration · overload 1

export declare function langGraphToolCalls(messages: readonly LangGraphWireMessage[]): readonly LangGraphToolCallWithResult[];

Parameters

messages · required
readonly LangGraphWireMessage[]

Returns

readonly LangGraphToolCallWithResult[]