ข้ามไปยังเนื้อหา

Class AgentToolDescriptor

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Agentics.Services
Assembly: Cephalon.Agentics.dll

Describes a tool that can be surfaced through the agentic runtime pack.

public sealed class AgentToolDescriptor

objectAgentToolDescriptor

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

AgentToolDescriptor(string, string, string, IReadOnlyList<string>?, IReadOnlyList<string>?, string?, string?, IReadOnlyDictionary<string, string>?)

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

Creates a new agent tool descriptor.

[JsonConstructor]
public AgentToolDescriptor(string id, string displayName, string description, IReadOnlyList<string>? tags = null, IReadOnlyList<string>? capabilityKeys = null, string? executionGraphId = null, string? hostedExecutionId = null, IReadOnlyDictionary<string, string>? metadata = null)

id string

The stable tool identifier.

displayName string

The operator-facing tool name.

description string

The human-readable description of the tool.

tags IReadOnlyList<string>?

Optional tags that classify the tool.

capabilityKeys IReadOnlyList<string>?

Optional capability keys that the tool expects to use through the active runtime.

executionGraphId string?

The related execution-graph identifier when the tool coordinates a published orchestration flow.

hostedExecutionId string?

The related hosted-execution identifier when the tool coordinates one host-managed background surface.

metadata IReadOnlyDictionary<string, string>?

Optional operator-facing metadata that should flow through the runtime surface.

Gets the capability keys that the tool expects to use through the active runtime.

public IReadOnlyList<string> CapabilityKeys { get; }

IReadOnlyList<string>

Gets the human-readable description of the tool.

public string Description { get; }

string

Gets the operator-facing display name for the tool.

public string DisplayName { get; }

string

Gets the related execution-graph identifier when one is declared.

public string? ExecutionGraphId { get; }

string?

Gets the related hosted-execution identifier when one is declared.

public string? HostedExecutionId { get; }

string?

Gets the stable tool identifier.

public string Id { get; }

string

Gets additional operator-facing metadata associated with the tool.

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

IReadOnlyDictionary<string, string>

Gets the normalized tag set associated with the tool.

public IReadOnlyList<string> Tags { get; }

IReadOnlyList<string>