Class ToolNaming
- Namespace
- Oscova.Agents
- Assembly
- Oscova.Agents.dll
Provides helpers for constructing model-safe qualified tool names.
public static class ToolNamingInheritance
Inherited Members
Fields
- MaxWireNameLength
-
Maximum tool name length accepted by model providers for function names.
- WireSeparator
-
Separates model-safe qualified tool name segments.
Methods
- BuildMcpQualifiedName(string, string)
-
Builds a qualified MCP tool wire name.
- BuildQualifiedName(string, string)
-
Builds a fully qualified tool wire name from the provided qualifier and base name.
- BuildToolsetQualifiedName(string?, string, string)
-
Builds a qualified reflected-toolset wire name.
- GetToolsetOwner(Type)
-
Returns the normalized friendly owner segment for a reflected toolset type.
- NormalizeQualifier(string)
-
Normalizes a qualifier segment so it can safely be used as part of a tool name.
- NormalizeToolName(string)
-
Normalizes a tool name segment.
- SanitizeName(string?)
-
Sanitizes a name so it can safely be used as an AI function or tool name. Replaces any sequence of non-alphanumeric characters with an underscore.
- SplitQualifiedName(string)
-
Splits a fully qualified wire name into its qualifier and tool segments.