Path: redb-route/redb.Route.Llm.Abstractions/Tools/LlmToolCapability.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.Llm.Abstractions/Tools/LlmToolCapability.cs
----
namespace redb.Route.Llm.Abstractions.Tools;
///
/// Capability descriptor for a tool exposed to the LLM. The engine projects the
/// , and into the provider
/// request as tools[]; is server-side metadata and is never sent on
/// the wire.
///
/// What the engine consults in :
/// (the approval gate), (claims, fail closed),
/// (tool-result cache, read-only tools only) and
/// (replay de-duplication and the caching gate). Each field
/// states its own status; is the one still reserved.
///
///
public sealed class LlmToolCapability
{
/// Stable tool name. Must match the regex [a-zA-Z][a-zA-Z0-9_]{0,63}.
public required string Name { get; init; }
/// Human-readable description shown to the model.
public required string Description { get; init; }
/// JSON Schema (object) describing the tool's input parameters.
public required string InputSchema { get; init; }
/// Governance metadata — side-effect, cost, caching, approval, claims.
public LlmToolSafety Safety { get; init; } = new();
}