Table of Contents

Method Add

Namespace
Oscova.Agents.Collections
Assembly
Oscova.Agents.dll

Add(AIFunction)

Adds a tool using its qualified name as the lookup key.

public void Add(AIFunction item)

Parameters

item AIFunction

The AI function to add.

Add(AIFunction, string, string, NetworkScope)

Adds a tool with explicit external-server metadata.

public void Add(AIFunction item, string serverName, string originalName, NetworkScope networkScope = NetworkScope.None)

Parameters

item AIFunction

The AI function to add.

serverName string

The external server or provider name that supplied the tool.

originalName string

The tool name before framework qualification.

networkScope NetworkScope

The tool's declared network scope.

Add(object, string?)

Reflects public declared methods from a toolset and adds them as AI functions.

public void Add(object toolSet, string? origin = null)

Parameters

toolSet object

The trusted toolset instance to reflect.

origin string?

The optional plugin origin used to qualify reflected tool names.