parse

open override fun parse(sdkTool: Tool): ToolDescriptor(source)

Parses an MCP SDK Tool definition into tool descriptor format.

This method extracts tool information (name, description, parameters) from an MCP SDK Tool and converts it into a ToolDescriptor that can be used by the agent framework.

Return

A ToolDescriptor representing the MCP tool.

Parameters

sdkTool

The MCP SDK Tool to parse.