ContentValidator

interface ContentValidator<T>

Base validation framework for agent API use. Generic interface supporting validation of different content types.

This interface serves as the foundation for all agent-specific validation, including guardrails, and action validators.

Inheritors

Properties

Link copied to clipboard
abstract val description: String

Description of what this validator checks. Used for documentation and debugging purposes.

Link copied to clipboard
abstract val name: String

Human-readable name for this validator. Used for logging, error reporting, and configuration.

Functions

Link copied to clipboard
abstract fun validate(input: T, blackboard: Blackboard): ValidationResult

Validate the given input within the provided blackboard context.