Method RemoveUnavailableTools
- Namespace
- Oscova.Agents.Policies
- Assembly
- Oscova.Agents.dll
RemoveUnavailableTools(IList<string>, IList<string>, IList<AgentToolPolicy>, IReadOnlySet<string>?, IList<string>?, IReadOnlySet<string>?)
Removes tool references that are absent from the live catalog and returns the removed names.
public static ToolReferenceSanitizationResult RemoveUnavailableTools(IList<string> allowedToolNames, IList<string> pinnedToolNames, IList<AgentToolPolicy> toolPolicies, IReadOnlySet<string>? availableToolNames, IList<string>? agentToolIds = null, IReadOnlySet<string>? availableAgentIds = null)Parameters
allowedToolNamesIList<string>pinnedToolNamesIList<string>toolPoliciesIList<AgentToolPolicy>availableToolNamesIReadOnlySet<string>?agentToolIdsIList<string>?availableAgentIdsIReadOnlySet<string>?