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
itemAIFunction-
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
itemAIFunction-
The AI function to add.
serverNamestring-
The external server or provider name that supplied the tool.
originalNamestring-
The tool name before framework qualification.
networkScopeNetworkScope-
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)