clientToolsChannel
State channels for the client-tools catalog. Spread into Annotation.Root so a graph
declares the tools (primary) and client_tools (fallback) slices in one line:
const State = Annotation.Root({ ...MessagesAnnotation.spec, ...clientToolsChannel() });
Both are last-value-wins channels (the catalog is replaced per run, not accumulated).
import { clientToolsChannel } from '@threadplane/middleware/langgraph';Declaration · overload 1
export declare function clientToolsChannel(): {
tools: import("@langchain/langgraph").LastValue<ClientToolSpec[] | undefined>;
client_tools: import("@langchain/langgraph").LastValue<ClientToolSpec[] | undefined>;
};Returns
{
tools: import("@langchain/langgraph").LastValue<ClientToolSpec[] | undefined>;
client_tools: import("@langchain/langgraph").LastValue<ClientToolSpec[] | undefined>;
}