Method GetServerName
- Namespace
- Oscova.Agents.Collections
- Assembly
- Oscova.Agents.dll
GetServerName(AIFunction)
Gets the recorded server name for a tool.
public string GetServerName(AIFunction tool)Parameters
toolAIFunction-
The tool whose server metadata should be returned.
Returns
- string
-
The normalized server name, or an empty string when none is recorded.
GetServerName(string)
Gets the recorded server name for a qualified tool name.
public string GetServerName(string qualifiedName)Parameters
qualifiedNamestring-
The qualified tool name.
Returns
- string
-
The normalized server name, or an empty string when none is recorded.