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

clientToolSpecs

The client catalog as OpenAI function-tool dicts for model.bindTools.

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

Declaration · overload 1

export declare function clientToolSpecs(state: ClientToolsState): OpenAIFunctionTool[];

Parameters

state · required
ClientToolsState

Returns

OpenAIFunctionTool[]