Formats a StructuredTool instance into a format that is compatible
with OpenAI's ChatCompletionFunctions. It uses the zodToJsonSchema
function to convert the schema of the StructuredTool into a JSON
schema, which is then used as the parameters for the OpenAI function.
Formats a
StructuredToolinstance into a format that is compatible with OpenAI's ChatCompletionFunctions. It uses thezodToJsonSchemafunction to convert the schema of theStructuredToolinto a JSON schema, which is then used as the parameters for the OpenAI function.