/** * GetTcodeUsage — read-only: was each transaction used in the last N months? * * Source: workload monitor (ST03N) monthly aggregates, read on the SAP side * by ZMCP_WL_TCODE_USAGE (SWNC_COLLECTOR_GET_AGGREGATES, USERTCODE). User * names never leave SAP — the FM returns one boolean per transaction. * * Backend: ECC only — OData FunctionImport `WlTcodeUsage` on ZMCP_ADT_SRV. * * Other system: `destination` (or SAP_USAGE_RFCDEST from the profile sap.env) * names an SM59 destination on the connected system; the FM then reads that * system's aggregates over RFC (DEV profile → QA / PRD business usage). The * destination is site-specific — it is never defaulted by the plugin. * * Companion ABAP source: sc4sap/abap/zmcp_wl_tcode_usage_ecc.abap */ import type { HandlerContext } from '../../../lib/handlers/interfaces'; export declare const TOOL_DEFINITION: { readonly name: "GetTcodeUsage"; readonly available_in: readonly ["onprem", "legacy"]; readonly description: "[read-only] Check whether transactions were used in the last N months, from the ST03N workload monthly aggregates. Returns one boolean per transaction plus `coverage` = months that actually hold workload data; when coverage < months, false means \"not used in the last months\". No user names are returned. ECC-only (ZMCP_WL_TCODE_USAGE bridge FM)."; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly tcodes: { readonly type: "array"; readonly items: { readonly type: "string"; }; readonly description: "Transaction codes to check (e.g. [\"VA01\",\"ZMY_TCODE\"])."; }; readonly months: { readonly type: "number"; readonly description: "Months back including the current one (1-36). Default: 12."; readonly default: 12; }; readonly destination: { readonly type: "string"; readonly description: "SM59 RFC destination (on the connected system) of the system to measure, e.g. the QA or PRD system. Omitted → SAP_USAGE_RFCDEST from the profile sap.env, else the connected system. \"\" or \"LOCAL\" → the connected system."; }; }; readonly required: readonly ["tcodes"]; }; }; export declare function handleGetTcodeUsage(context: HandlerContext, args: { tcodes: string[]; months?: number; destination?: string; }): Promise<{ isError: boolean; content: { type: string; text: any; }[]; }>; //# sourceMappingURL=handleGetTcodeUsage.d.ts.map