formatStructuredToolToAnthropic(
tools: ChatAnthropicToolType[] | undefined,
fields: __type
): ToolUnion[] | undefined| Name | Type | Description |
|---|---|---|
tools* | ChatAnthropicToolType[] | undefined | The tools to format |
fields | __type | Optional |
Formats LangChain StructuredTools to AnthropicTools.