Threadplane
Pricing
Talk to Us
@threadplane/middleware/langgraphFunctionv0.0.2

hasClientToolCall

True if the last message calls at least one client tool.

View sourceView Markdown
import { hasClientToolCall } from '@threadplane/middleware/langgraph';

Declaration · overload 1

export declare function hasClientToolCall(state: ClientToolsState): boolean;

Parameters

state · required
ClientToolsState

Returns

boolean