package com.correx.testing.fixtures.tools

import com.correx.core.approvals.Tier
import com.correx.core.events.events.ToolRequest
import com.correx.core.tools.contract.Tool
import com.correx.core.tools.contract.ToolCapability
import com.correx.core.tools.contract.ValidationResult
import kotlinx.serialization.json.JsonObject
import kotlinx.serialization.json.buildJsonObject

class RejectedTool : Tool {
    override val name: String = "rejected"
    override val description: String = "Rejected tool for testing"
    override val parametersSchema: JsonObject = buildJsonObject {}
    override val tier: Tier = Tier.T4
    override val requiredCapabilities: Set<ToolCapability> = emptySet()
    override fun validateRequest(request: ToolRequest): ValidationResult = ValidationResult.Valid
}
