Skip to content

Class AgentToolExecutionResult

Namespace: Cephalon.Abstractions.Agentics
Assembly: Cephalon.Abstractions.dll

Describes the result returned by one managed agent-tool executor.

public sealed class AgentToolExecutionResult

objectAgentToolExecutionResult

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

AgentToolExecutionResult(string, string?, string?, IReadOnlyDictionary<string, string>?)

Section titled “ AgentToolExecutionResult(string, string?, string?, IReadOnlyDictionary<string, string>?)”

Creates a new agent-tool execution result.

public AgentToolExecutionResult(string outcome, string? outputSummary = null, string? error = null, IReadOnlyDictionary<string, string>? metadata = null)

outcome string

The stable execution outcome identifier.

outputSummary string?

The optional operator-facing output summary.

error string?

The optional operator-facing error summary.

metadata IReadOnlyDictionary<string, string>?

Optional metadata captured by the executor.

Gets the optional operator-facing error summary.

public string? Error { get; }

string?

Gets optional metadata captured by the executor.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the stable execution outcome identifier.

public string Outcome { get; }

string

Gets the optional operator-facing output summary.

public string? OutputSummary { get; }

string?

ApprovalRequired(string?, IReadOnlyDictionary<string, string>?)

Section titled “ ApprovalRequired(string?, IReadOnlyDictionary<string, string>?)”

Creates an approval-required execution result.

public static AgentToolExecutionResult ApprovalRequired(string? outputSummary = null, IReadOnlyDictionary<string, string>? metadata = null)

outputSummary string?

The optional operator-facing output summary.

metadata IReadOnlyDictionary<string, string>?

Optional metadata captured by the policy layer.

AgentToolExecutionResult

An approval-required execution result.

Denied(string?, IReadOnlyDictionary<string, string>?)

Section titled “ Denied(string?, IReadOnlyDictionary<string, string>?)”

Creates a denied execution result.

public static AgentToolExecutionResult Denied(string? error = null, IReadOnlyDictionary<string, string>? metadata = null)

error string?

The operator-facing denial reason.

metadata IReadOnlyDictionary<string, string>?

Optional metadata captured by the policy layer.

AgentToolExecutionResult

A denied execution result.

Failed(string, IReadOnlyDictionary<string, string>?)

Section titled “ Failed(string, IReadOnlyDictionary<string, string>?)”

Creates a failed execution result.

public static AgentToolExecutionResult Failed(string error, IReadOnlyDictionary<string, string>? metadata = null)

error string

The operator-facing error summary.

metadata IReadOnlyDictionary<string, string>?

Optional metadata captured by the executor.

AgentToolExecutionResult

A failed execution result.

Skipped(string?, IReadOnlyDictionary<string, string>?)

Section titled “ Skipped(string?, IReadOnlyDictionary<string, string>?)”

Creates a skipped execution result.

public static AgentToolExecutionResult Skipped(string? outputSummary = null, IReadOnlyDictionary<string, string>? metadata = null)

outputSummary string?

The optional operator-facing output summary.

metadata IReadOnlyDictionary<string, string>?

Optional metadata captured by the executor.

AgentToolExecutionResult

A skipped execution result.

Succeeded(string?, IReadOnlyDictionary<string, string>?)

Section titled “ Succeeded(string?, IReadOnlyDictionary<string, string>?)”

Creates a successful execution result.

public static AgentToolExecutionResult Succeeded(string? outputSummary = null, IReadOnlyDictionary<string, string>? metadata = null)

outputSummary string?

The optional operator-facing output summary.

metadata IReadOnlyDictionary<string, string>?

Optional metadata captured by the executor.

AgentToolExecutionResult

A successful execution result.