/** * GetJobUsage — read-only: is each program set up as a background job step? * * Source: job overview TBTCO (header) + TBTCP (steps), read on the SAP side * by ZMCP_WL_JOB_USAGE. A program counts as used when it is a step of a job * that is scheduled now (released / ready / active) or that finished or was * cancelled inside the window. Dialog runs (SE38/SA38) do not count. No user * names leave SAP — the FM returns one boolean per program. * * Backend: ECC only — OData FunctionImport `WlJobUsage` on ZMCP_ADT_SRV. * * Companion ABAP source: sc4sap/abap/zmcp_wl_job_usage_ecc.abap */ import type { HandlerContext } from '../../../lib/handlers/interfaces'; export declare const TOOL_DEFINITION: { readonly name: "GetJobUsage"; readonly available_in: readonly ["onprem", "legacy"]; readonly description: "[read-only] Check whether programs are used as background job steps (SM37 jobs, TBTCO/TBTCP): true when the program is a step of a job that is scheduled now (released/ready/active, incl. periodic) or that finished/was cancelled in the last N months. SE38/SA38 dialog runs do not count. `oldest` = start date of the oldest finished job still kept; job reorganization deletes older ones, so when `complete` is false a false means \"no job since \". No user names are returned. ECC-only (ZMCP_WL_JOB_USAGE bridge FM)."; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly programs: { readonly type: "array"; readonly items: { readonly type: "string"; }; readonly description: "ABAP program names to check (e.g. [\"ZMY_REPORT\"])."; }; readonly months: { readonly type: "number"; readonly description: "Months back including the current one (1-36). Default: 12."; readonly default: 12; }; }; readonly required: readonly ["programs"]; }; }; export declare function handleGetJobUsage(context: HandlerContext, args: { programs: string[]; months?: number; }): Promise<{ isError: boolean; content: { type: string; text: any; }[]; }>; //# sourceMappingURL=handleGetJobUsage.d.ts.map