accept

public final T accept<T extends Any>(McpServerToolResultStep.Result.Visitor<T> visitor)