Table of Contents

Interface IToolCallExecutor<TCall, TOutput>

public interface IToolCallExecutor<TCall, TOutput> where TCall : ToolCall where TOutput : ToolOutput

Type Parameters

TCall
TOutput

Methods

CanExecute(string)

bool CanExecute(string toolName)

Parameters

toolName string

Returns

bool

ExecuteAsync(TCall, CancellationToken)

UniTask<TOutput> ExecuteAsync(TCall toolCall, CancellationToken ct = default)

Parameters

toolCall TCall
ct CancellationToken

Returns

UniTask<TOutput>