generate

abstract fun generate(toolDescriptor: ToolDescriptor): JsonObject(source)

Converts a list of ToolDescriptor objects into a JSON object representation.

Return

A JsonObject containing the JSON representation of the provided list of ToolDescriptor objects.

Parameters

toolDescriptor

The ToolDescriptor to convert.