/** * ActivateView Handler - Activate ABAP View (CDS View) * * Uses AdtClient.activateView 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: "ActivateViewLow"; readonly available_in: readonly ["onprem", "cloud", "legacy"]; readonly description: "[low-level] Activate an ABAP view (CDS view). Returns activation status and any warnings/errors. Can use session_id and session_state from GetSession to maintain the same session."; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly view_name: { readonly type: "string"; readonly description: "View name (e.g., ZVW_MY_VIEW)."; }; 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 ["view_name"]; }; }; interface ActivateViewArgs { view_name: string; session_id?: string; session_state?: { cookies?: string; csrf_token?: string; cookie_store?: Record; }; } /** * Main handler for ActivateView MCP tool * * Uses AdtClient.activateView - low-level single method call */ export declare function handleActivateView(context: HandlerContext, args: ActivateViewArgs): Promise<{ isError: boolean; content: { type: string; text: any; }[]; }>; export {}; //# sourceMappingURL=handleActivateView.d.ts.map