Function formatToOpenAIAssistantTool
- formatToOpenAIAssistantTool(tool): OpenAIClient.Beta.AssistantCreateParams.AssistantToolsFunction
-
Parameters
-
tool: StructuredToolInterface<ZodObject<any, any, any, any, {}>>
Returns OpenAIClient.Beta.AssistantCreateParams.AssistantToolsFunction