/** * UpdateDataElement Handler - Update ABAP Data Element Properties * * Uses AdtClient.updateDataElement 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: "UpdateDataElementLow"; readonly available_in: readonly ["onprem", "cloud"]; readonly description: "[low-level] Update properties of an existing ABAP data element. Requires lock handle from LockObject. - use UpdateDataElement (high-level) for full workflow with lock/unlock/activate."; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly data_element_name: { readonly type: "string"; readonly description: "Data element name (e.g., ZOK_E_TEST_0001). Data element must already exist."; }; readonly properties: { readonly type: "object"; readonly description: "Data element properties object. Can include: description, type_name, type_kind, data_type, field_label_short, field_label_medium, field_label_long, etc."; }; readonly lock_handle: { readonly type: "string"; readonly description: "Lock handle from LockObject. Required for update operation."; }; 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 ["data_element_name", "properties", "lock_handle"]; }; }; interface UpdateDataElementArgs { data_element_name: string; properties: Record; lock_handle: string; session_id?: string; session_state?: { cookies?: string; csrf_token?: string; cookie_store?: Record; }; } /** * Main handler for UpdateDataElement MCP tool * * Uses AdtClient.updateDataElement - low-level single method call */ export declare function handleUpdateDataElement(context: HandlerContext, args: UpdateDataElementArgs): Promise<{ isError: boolean; content: { type: string; text: any; }[]; }>; export {}; //# sourceMappingURL=handleUpdateDataElement.d.ts.map