Skip to content

AgentPrismValidationOptions

Namespace AgentPrism · Assembly AgentPrism.Core.dll

Defines options for the POST /api/agents/validate endpoint.

public sealed class AgentPrismValidationOptions

objectAgentPrismValidationOptions

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public AgentPrismValidationOptions()

Gets or sets the maximum duration for fetching a fresh tool list from an MCP server.

public TimeSpan McpTimeout { get; set; }

TimeSpan

This is triggered only for a missing tool name when AgentPrism.Mcp is registered. A slow MCP server must not overrun the validation endpoint. On timeout, the result is Inconclusive, not Valid.