ToolApproval
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?
optionalexpiresAt?: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?
optionalnote?: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?
optionalread?:boolean
Defined in: types/tool-approvals.ts:30
Whether the approval has been marked as read
resolvedAt?
optionalresolvedAt?:string
Defined in: types/tool-approvals.ts:24
When the request was resolved
resolvedBy?
optionalresolvedBy?: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