Skip to main content

ToolApproval

Agent Runtimes


Agent Runtimes / types/tool-approvals / ToolApproval

Interface: ToolApproval

Defined in: types/tool-approvals.ts:8

Properties

agentId

agentId: string

Defined in: types/tool-approvals.ts:12

Agent that requested the tool call


createdAt

createdAt: string

Defined in: types/tool-approvals.ts:22

When the request was created


expiresAt?

optional expiresAt?: string

Defined in: types/tool-approvals.ts:32

Time limit for the approval (ISO timestamp)


id

id: string

Defined in: types/tool-approvals.ts:10

Unique approval request ID


note?

optional note?: string

Defined in: types/tool-approvals.ts:28

Optional note from the approver


podName

podName: string

Defined in: types/tool-approvals.ts:14

Pod running the agent


read?

optional read?: boolean

Defined in: types/tool-approvals.ts:30

Whether the approval has been marked as read


resolvedAt?

optional resolvedAt?: string

Defined in: types/tool-approvals.ts:24

When the request was resolved


resolvedBy?

optional resolvedBy?: string

Defined in: types/tool-approvals.ts:26

Who resolved the request


status

status: ToolApprovalStatus

Defined in: types/tool-approvals.ts:20

Current approval status


toolArgs

toolArgs: Record<string, unknown>

Defined in: types/tool-approvals.ts:18

Tool call arguments


toolName

toolName: string

Defined in: types/tool-approvals.ts:16

Tool being requested