Hashbrown.AspNetCore · C# API reference
Hashbrown.AspNetCore.NativeToolCatalog
Upcoming 0.1.0-preview.2 · Unreleased
public sealed class NativeToolCatalogImmutable server catalog binding native descriptors and rejecting browser name collisions.
Members
NativeToolCatalog
public NativeToolCatalog(System.Collections.Generic.IEnumerable<Hashbrown.AspNetCore.NativeToolDefinition> tools);Clones and validates versioned server definitions.
Contains
public bool Contains(string name);Tests whether a name belongs to a registered server operation.
CreateCall
public Hashbrown.AspNetCore.NativeToolCall CreateCall(string id, string name, System.Text.Json.JsonElement arguments);Clones an actual model call using the immutable registered version and pure argument validator.
Matches
public bool Matches(Hashbrown.AspNetCore.NativeToolCall call);Validates the stored descriptor against the exact registered version.
RequiresConfirmation
public bool RequiresConfirmation(string name);Checks whether the registered server call requires a protected native decision.
Identity
public string Identity { get; }Stable canonical catalog identity, including explicit versions and schemas.