Class ApprovalRequest

Assembly: redb.Route.Llm.dll

Pending tool-call approval request handed to the gate.

public sealed class ApprovalRequest

Inheritance

Object→ApprovalRequest

Properties

ConversationId

Conversation identifier (when persistence is on).

public string? ConversationId { get; init; }

Exchange

Parent exchange owning the call (carries principal, headers, scope).

public required IExchange Exchange { get; init; }

InputJson

Tool input JSON exactly as it would be passed to the bridged endpoint.

public required string InputJson { get; init; }

Tool

Tool that will be executed.

public required LlmToolCapability Tool { get; init; }

ToolUseId

Tool-use id from the model response — propagated to the approver and audit.

public required string ToolUseId { get; init; }