Interface ToolsDefinition.Builder

  • Method Details

    • protocolVersion

      ToolsDefinition.Builder protocolVersion(String protocolVersion)

      The protocol version of the tools definition based on the MCP protocol specification. If not specified, the version is auto-detected from the content.

      Parameters:
      protocolVersion - The protocol version of the tools definition based on the MCP protocol specification. If not specified, the version is auto-detected from the content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inlineContent

      ToolsDefinition.Builder inlineContent(String inlineContent)

      The JSON content containing the MCP tools definition, conforming to the MCP protocol specification.

      Parameters:
      inlineContent - The JSON content containing the MCP tools definition, conforming to the MCP protocol specification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.