export interface ToolAnnotations { destructiveHint?: boolean; idempotentHint?: boolean; openWorldHint?: boolean; readOnlyHint?: boolean; title?: string; } export interface Tool { name: string; description: string; inputSchema?: Record; _meta?: { requiredScopes: string[]; readOnly?: boolean; }; annotations?: ToolAnnotations; } export interface HandlerRequest { token: string; parameters: Record; } export interface HandlerConfig { zitiControllerHost: string; domain: string | undefined; authMode: 'token' | 'identity' | 'updb'; } export interface HandlerResponse { content: Array<{ type: string; [key: string]: any; }>; isError: boolean; } export interface ClientOptions { tools: string[]; readOnly?: boolean; wsl?: boolean; } export interface OpenZitiApplication { client_id: string; name: string; [key: string]: any; } export interface OpenZitiResourceServer { id: string; name: string; identifier: string; [key: string]: any; } export interface OpenZitiPaginatedResponse { clients?: OpenZitiApplication[]; resource_servers?: OpenZitiResourceServer[]; total?: number; page?: number; per_page?: number; [key: string]: any; }