/** * ValidateTable Handler - Validate ABAP table name via ADT API * * Uses validateTableName from @babamba2/mcp-abap-adt-clients/core/table for table-specific validation. */ import type { ITableConfig } from '@babamba2/mcp-abap-adt-clients'; import type { HandlerContext } from '../../../lib/handlers/interfaces'; export declare const TOOL_DEFINITION: { readonly name: "ValidateTableLow"; readonly available_in: readonly ["onprem", "cloud"]; readonly description: "[low-level] Validate an ABAP table name before creation. Checks if the name is valid and available. Can use session_id and session_state from GetSession to maintain the same session."; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly table_name: { readonly type: "string"; readonly description: "Table name to validate (e.g., Z_MY_TABLE)"; }; readonly package_name: { readonly type: "string"; readonly description: "Package name (e.g., ZOK_LOCAL, $TMP for local objects). Required for validation."; }; readonly description: { readonly type: "string"; readonly description: "Table description. Required for validation."; }; readonly session_id: { readonly type: "string"; readonly description: "Session ID from GetSession. If not provided, a new session will be created."; }; readonly session_state: { readonly type: "object"; readonly description: "Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided."; readonly properties: { readonly cookies: { readonly type: "string"; }; readonly csrf_token: { readonly type: "string"; }; readonly cookie_store: { readonly type: "object"; }; }; }; }; readonly required: readonly ["table_name", "package_name", "description"]; }; }; interface ValidateTableArgs extends Pick { table_name: string; package_name: string; description: string; session_id?: string; session_state?: { cookies?: string; csrf_token?: string; cookie_store?: Record; }; } /** * Main handler for ValidateTable MCP tool */ export declare function handleValidateTable(context: HandlerContext, args: ValidateTableArgs): Promise<{ isError: boolean; content: { type: string; text: any; }[]; }>; export {}; //# sourceMappingURL=handleValidateTable.d.ts.map