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