Interface ToolsDefinition.Builder

  • Method Details

    • protocolVersion

      ToolsDefinition.Builder protocolVersion(String protocolVersion)

      The MCP protocol version that the tools conform to. This differs from the schemaVersion field in the server definition, which identifies the server configuration schema format.

      Parameters:
      protocolVersion - The MCP protocol version that the tools conform to. This differs from the schemaVersion field in the server definition, which identifies the server configuration schema format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inlineContent

      ToolsDefinition.Builder inlineContent(String inlineContent)

      The inline content of the tools definition.

      Parameters:
      inlineContent - The inline content of the tools definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.