@mondaydotcomorg/atp-runtime
Version:
Runtime SDK injected into sandbox for Agent Tool Protocol
17 lines • 658 B
TypeScript
import type { ApprovalResponse } from './types';
export type { ApprovalRequest, ApprovalResponse, ApprovalSchema } from './types';
export { initializeApproval } from './handler.js';
/**
* Approval Runtime API
*
* Allows agents to request explicit human approval before proceeding with sensitive operations.
* This integrates with MCP's elicitation feature to request structured input from users.
*/
declare class ApprovalAPI {
/**
* Request approval from a human
*/
request(message: string, context?: Record<string, unknown>): Promise<ApprovalResponse>;
}
export declare const approval: ApprovalAPI;
//# sourceMappingURL=index.d.ts.map