GetInactiveObjects
Retrieve a list of modified but unactivated ABAP objects pending activation, including classes, tables, and CDS views, to manage activation tasks.
Instructions
[read-only] Get a list of inactive ABAP objects — modified but not yet activated, pending activation. Shows classes, tables, CDS views, and other objects awaiting activation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- Main handler function that retrieves inactive ABAP objects via ADT client and returns them as JSON.
export async function handleGetInactiveObjects( context: HandlerContext, _params: any, ) { const { connection, logger } = context; try { const client = createAdtClient(connection, logger); const utils = client.getUtils(); logger?.info('Retrieving inactive objects...'); const result = await utils.getInactiveObjects(); return return_response({ data: JSON.stringify( { success: true, count: result.objects.length, objects: result.objects, }, null, 2, ), status: 200, statusText: 'OK', headers: {}, config: {} as any, }); } catch (error: any) { logger?.error('Error retrieving inactive objects:', error); return return_error(error); } } - Tool definition with name 'GetInactiveObjects', description, and empty input schema (no parameters required).
export const TOOL_DEFINITION = { name: 'GetInactiveObjects', available_in: ['onprem', 'cloud'] as const, description: '[read-only] Get a list of inactive ABAP objects — modified but not yet activated, pending activation. Shows classes, tables, CDS views, and other objects awaiting activation.', inputSchema: { type: 'object', properties: {}, required: [], }, } as const; - src/lib/handlers/groups/SystemHandlersGroup.ts:216-218 (registration)Registration of GetInactiveObjects tool in SystemHandlersGroup with its tool definition and handler binding.
{ toolDefinition: GetInactiveObjects_Tool, handler: (args: any) => handleGetInactiveObjects(this.context, args), - src/lib/handlers/groups/SystemHandlersGroup.ts:35-38 (registration)Import of the GetInactiveObjects tool definition and handler into SystemHandlersGroup.
import { TOOL_DEFINITION as GetInactiveObjects_Tool, handleGetInactiveObjects, } from '../../../handlers/system/readonly/handleGetInactiveObjects';