Interface: ApprovalReason¶
Defined in: types.ts:56
An approval interrupt: the agent is asking the user to approve or reject a gated tool call before it runs.
Properties¶
message¶
message:
string
Defined in: types.ts:60
Human-readable description of what is being approved.
tool_input?¶
optionaltool_input?:unknown
Defined in: types.ts:64
The proposed tool input, shown for review.
tool_name¶
tool_name:
string
Defined in: types.ts:62
Name of the gated tool awaiting approval.
type¶
type:
"approval"
Defined in: types.ts:58
Discriminator marking this as an approval gate.