Type Alias: ScopedToolApprovalRequest
Makaio Framework / ai-adapters-core / ScopedToolApprovalRequest
Type Alias: ScopedToolApprovalRequest
Section titled “Type Alias: ScopedToolApprovalRequest”ScopedToolApprovalRequest =
z.infer<typeofrequest>
Defined in: ../../../adapters/core/src/utils/tool-approval.ts:231
Scoped tool approval request payload type — sessionId is optional at the connector layer.
Type Composition
Section titled “Type Composition”ScopedToolApprovalRequestz.infer<typeof ScopedToolApprovalSchema.request>typeof ScopedToolApprovalSchema.request
Resolved Shape
Section titled “Resolved Shape”type ScopedToolApprovalRequest = { agentId: string; adapterId: string; adapterName: string; adapterSessionId: string; toolCallId: string; messageId?: string | undefined; turnId?: string | undefined; clientId?: string | undefined; providerConfigId?: string | undefined; occurredAt?: number | undefined; toolName?: string | undefined; args?: Record<string, unknown> | undefined; reasoning?: string | undefined; sessionId?: string | undefined;};