override fun equals()

in agents/agents-tools/src/commonMain/kotlin/ai/koog/agents/core/tools/ToolDescriptor.kt [45:55]


    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (other !is ToolDescriptor) return false

        if (name != other.name) return false
        if (description != other.description) return false
        if (requiredParameters != other.requiredParameters) return false
        if (optionalParameters != other.optionalParameters) return false

        return true
    }