Interface IToolCallHandler
Assembly: Glitch9.AIDevKit.dll
public interface IToolCallHandler
Methods
|
Edit this page
View Source
Declaration
void RegisterExecutor<TCall, TOutput>(IToolCallExecutor<TCall, TOutput> executor) where TCall : ToolCall where TOutput : ToolOutput
Parameters
Type Parameters
| Name |
Description |
| TCall |
|
| TOutput |
|
|
Edit this page
View Source
Declaration
UniTask<ToolOutputResult> TryHandleToolCallAsync(ToolCall toolCall, CancellationToken ct = default)
Parameters
Returns
|
Edit this page
View Source
Declaration
bool UnregisterExecutor<TCall, TOutput>(IToolCallExecutor<TCall, TOutput> executor) where TCall : ToolCall where TOutput : ToolOutput
Parameters
Returns
Type Parameters
| Name |
Description |
| TCall |
|
| TOutput |
|
Extension Methods