Returns a new Runnable with the given tools bound into every call.
Equivalent to .withConfig({ tools, ...kwargs }).
bindTools(
tools: BindToolsInput[],
kwargs: Partial<ChatOpenRouterCallOptions>
): Runnable<BaseLanguageModelInput, AIMessageChunk<MessageStructure<MessageToolSet>>, ChatOpenRouterCallOptions>| Name | Type | Description |
|---|---|---|
tools* | BindToolsInput[] | |
kwargs | Partial<ChatOpenRouterCallOptions> |