Interface IAgentToolExecutor
Namespace: Cephalon.Agentics.Services
Assembly: Cephalon.Agentics.dll
Executes one registered agent tool through the Cephalon-managed agentics runtime.
public interface IAgentToolExecutorProperties
Section titled “Properties”ToolId
Section titled “ ToolId”Gets the stable tool identifier owned by this executor.
string ToolId { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”ExecuteAsync(AgentToolExecutionContext, CancellationToken)
Section titled “ ExecuteAsync(AgentToolExecutionContext, CancellationToken)”Executes the tool against the supplied context.
ValueTask<AgentToolExecutionResult> ExecuteAsync(AgentToolExecutionContext context, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”context AgentToolExecutionContext
The host-agnostic execution context for the current tool run.
cancellationToken CancellationToken
The cancellation token for the current execution attempt.
Returns
Section titled “Returns”ValueTask<AgentToolExecutionResult>
The result reported by the executor.