Skip to content

Class AgentToolExecutionRequest

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

Describes one request to execute an agent tool through the Cephalon-managed agentics runtime.

public sealed class AgentToolExecutionRequest

objectAgentToolExecutionRequest

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

AgentToolExecutionRequest(string, string?, IReadOnlyDictionary<string, string>?, string?, string?, int, IReadOnlyDictionary<string, string>?)

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

Creates a new agent-tool execution request.

public AgentToolExecutionRequest(string toolId, string? runId = null, IReadOnlyDictionary<string, string>? arguments = null, string? actorId = null, string? correlationId = null, int attempt = 1, IReadOnlyDictionary<string, string>? metadata = null)

toolId string

The stable tool identifier to execute.

runId string?

The stable run identifier. A generated identifier is used when omitted.

arguments IReadOnlyDictionary<string, string>?

Optional string arguments supplied to the tool executor.

actorId string?

The optional actor identifier responsible for the request.

correlationId string?

The optional correlation identifier for the request.

attempt int

The execution attempt number.

metadata IReadOnlyDictionary<string, string>?

Optional operator-facing metadata associated with the request.

Gets the optional actor identifier responsible for the request.

public string? ActorId { get; }

string?

Gets optional string arguments supplied to the tool executor.

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

IReadOnlyDictionary<string, string>

Gets the execution attempt number.

public int Attempt { get; }

int

Gets the optional correlation identifier for the request.

public string? CorrelationId { get; }

string?

Gets optional operator-facing metadata associated with the request.

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

IReadOnlyDictionary<string, string>

Gets the stable run identifier for this execution.

public string RunId { get; }

string

Gets the stable tool identifier to execute.

public string ToolId { get; }

string