Interface: ApprovalEntry
Makaio Framework / contracts / ApprovalEntry
Interface: ApprovalEntry
Section titled “Interface: ApprovalEntry”Defined in: ../../../packages/contracts/src/approval/types.ts:13
A pending approval entry in the approval queue. Represents a tool call awaiting user review.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”adapterName
Section titled “adapterName”adapterName:
string
Defined in: ../../../packages/contracts/src/approval/types.ts:27
Adapter type name (e.g., ‘claude-code’)
agentId
Section titled “agentId”agentId:
string
Defined in: ../../../packages/contracts/src/approval/types.ts:23
Agent that initiated the tool call
optionalargs?:Record<string,unknown>
Defined in: ../../../packages/contracts/src/approval/types.ts:21
Tool call arguments
capabilities?
Section titled “capabilities?”
optionalcapabilities?: readonlyToolCapability[]
Defined in: ../../../packages/contracts/src/approval/types.ts:33
Agent capability identifiers
createdAt
Section titled “createdAt”createdAt:
number
Defined in: ../../../packages/contracts/src/approval/types.ts:39
Unix timestamp (ms) when the request was created
personaName?
Section titled “personaName?”
optionalpersonaName?:string
Defined in: ../../../packages/contracts/src/approval/types.ts:29
Persona display name
profileName?
Section titled “profileName?”
optionalprofileName?:string
Defined in: ../../../packages/contracts/src/approval/types.ts:31
Profile display name
reasoning?
Section titled “reasoning?”
optionalreasoning?:string
Defined in: ../../../packages/contracts/src/approval/types.ts:37
LLM reasoning/thinking that preceded this tool call (when available)
requestId
Section titled “requestId”requestId:
string
Defined in: ../../../packages/contracts/src/approval/types.ts:15
Unique approval request identifier
riskLevel?
Section titled “riskLevel?”
optionalriskLevel?:RiskLevel
Defined in: ../../../packages/contracts/src/approval/types.ts:35
Risk classification for this tool call
sessionId?
Section titled “sessionId?”
optionalsessionId?:string
Defined in: ../../../packages/contracts/src/approval/types.ts:25
Makaio session identifier
toolCallId
Section titled “toolCallId”toolCallId:
string
Defined in: ../../../packages/contracts/src/approval/types.ts:17
Tool call identifier from the agent
toolName?
Section titled “toolName?”
optionaltoolName?:string
Defined in: ../../../packages/contracts/src/approval/types.ts:19
Name of the tool being called