Table of Contents

Interface IInvokableTool

Namespace
OllamaSharp.Tools
Assembly
OllamaSharp.dll

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

public interface IInvokableTool

Methods

InvokeMethod(IDictionary<string, object?>?)

Invokes the method synchronously with the specified arguments.

object? InvokeMethod(IDictionary<string, object?>? args)

Parameters

args IDictionary<string, object>

The arguments to pass to the method.

Returns

object

The result of the method invocation.