/** * ValidateStructure Handler - Validate ABAP Structure Name * * Uses AdtClient.validateStructure from @babamba2/mcp-abap-adt-clients. * Low-level handler: single method call. */ import type { HandlerContext } from '../../../lib/handlers/interfaces'; export declare const TOOL_DEFINITION: { readonly name: "ValidateStructureLow"; readonly available_in: readonly ["onprem", "cloud"]; readonly description: "[low-level] Validate an ABAP structure name before creation. Checks if the name is valid and available. Returns validation result with success status and message. Can use session_id and session_state from GetSession to maintain the same session."; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly structure_name: { readonly type: "string"; readonly description: "Structure name to validate (e.g., Z_MY_PROGRAM)."; }; 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: "Structure 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 ["structure_name", "package_name", "description"]; }; }; interface ValidateStructureArgs { structure_name: string; package_name: string; description: string; session_id?: string; session_state?: { cookies?: string; csrf_token?: string; cookie_store?: Record; }; } /** * Main handler for ValidateStructure MCP tool * * Uses AdtClient.validateStructure - low-level single method call */ export declare function handleValidateStructure(context: HandlerContext, args: ValidateStructureArgs): Promise<{ isError: boolean; content: { type: string; text: any; }[]; }>; export {}; //# sourceMappingURL=handleValidateStructure.d.ts.map