AgentValidationReport
AgentPrism.Abstractions.dllThe result of a validation that builds an agent definition without saving it and without calling any model.
public sealed record AgentValidationReport : IEquatable<AgentValidationReport>Inheritance
Section titled “Inheritance”object ← AgentValidationReport
Implements
Section titled “Implements”IEquatable<AgentValidationReport>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”A failed validation is not an HTTP error: the request is valid and the answer is
“this definition is invalid”. The HTTP response is therefore 200 even when
Valid is false.
Constructors
Section titled “Constructors”AgentValidationReport()
Section titled “ AgentValidationReport()”public AgentValidationReport()Properties
Section titled “Properties”Inconclusive
Section titled “ Inconclusive”Gets a value that tells whether a check could not finish because a resource was
unreachable, an MCP server for example. It does not affect Valid.
public required bool Inconclusive { get; init; }Property Value
Section titled “Property Value”Messages
Section titled “ Messages”Gets every message found. Validation does not stop at the first error.
public required IReadOnlyList<ValidationMessage> Messages { get; init; }Property Value
Section titled “Property Value”IReadOnlyList<ValidationMessage>
Gets a value that is true when the definition carries no ValidationSeverity.Error.
public required bool Valid { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(AgentValidationReport?)
Section titled “ Equals(AgentValidationReport?)”public bool Equals(AgentValidationReport? other)Parameters
Section titled “Parameters”other AgentValidationReport?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(AgentValidationReport?, AgentValidationReport?)
Section titled “ operator ==(AgentValidationReport?, AgentValidationReport?)”public static bool operator ==(AgentValidationReport? left, AgentValidationReport? right)Parameters
Section titled “Parameters”left AgentValidationReport?
right AgentValidationReport?
Returns
Section titled “Returns”operator !=(AgentValidationReport?, AgentValidationReport?)
Section titled “ operator !=(AgentValidationReport?, AgentValidationReport?)”public static bool operator !=(AgentValidationReport? left, AgentValidationReport? right)Parameters
Section titled “Parameters”left AgentValidationReport?
right AgentValidationReport?