Table of Contents

Interface IAsyncInvokableTool

Namespace
OllamaSharp.Tools
Assembly
OllamaSharp.dll

Represents an asynchronous tool that can be invoked with a set of arguments.

public interface IAsyncInvokableTool

Methods

InvokeMethodAsync(IDictionary<string, object?>?)

Invokes the method asynchronously with the specified arguments.

Task<object?> InvokeMethodAsync(IDictionary<string, object?>? args)

Parameters

args IDictionary<string, object>

The arguments to pass to the method.

Returns

Task<object>

A task that represents the asynchronous operation. The task result contains the result of the method invocation.