类 ToolSpecification

java.lang.Object
com.ajaxjs.mcp.protocol.tools.ToolSpecification

public class ToolSpecification extends Object
Describes a tool that language model can execute.

Represents a tool that the server provides. Tools enable servers to expose executable functionality to the system. Through these tools, you can interact with external systems, perform computations, and take actions in the real world.

Can be generated automatically from methods annotated with Tool using ToolSpecifications helper.

  • 构造器详细资料

    • ToolSpecification

      public ToolSpecification()