Path: redb-route/redb.Route.Llm.Abstractions/Tools/ToolResultErrors.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/ToolResultErrors.cs ---- namespace redb.Route.Llm.Abstractions.Tools; /// /// Model-facing tool_result error codes: what a tool call that could not execute reports back /// to the LLM. Deliberately terse — the model does not need the required-claims list, and handing it /// over would turn a tool_result into the one channel that leaks the tool's security policy. /// public static class ToolResultErrors { /// The tool requires claims the run's principal does not hold (or cannot prove). public const string ClaimsMissing = "claims_missing"; /// The approval gate refused this call; the reason text stays in the observer channel. public const string ApprovalDenied = "approval_denied"; /// /// The tool has an irreversible external effect and the run is inside a transaction that can still roll /// back, so the tool was not run. /// public const string ExternalInTransaction = "external_in_transaction"; }