sap-system-delete
Remove an existing SAP system from the Simplifier Low Code Platform by specifying its name to manage system configurations.
Instructions
Delete an existing SAP system
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Implementation Reference
- src/tools/sap-system-tools.ts:125-130 (handler)The handler function for the 'sap-system-delete' tool. It wraps the deletion call to simplifier.deleteSapSystem with tracking and error handling using wrapToolResult.async ({ name }) => { return wrapToolResult(`Delete SAP system ${name}`, async () => { const trackingKey = trackingToolPrefix + toolNameSapSystemDelete; return await simplifier.deleteSapSystem(name, trackingKey); }) });
- Zod input schema for the tool, defining a single required 'name' parameter of type string.{ name: z.string() },
- src/tools/sap-system-tools.ts:113-130 (registration)Direct registration of the 'sap-system-delete' tool using server.tool(), including name constant, description, input schema, metadata hints, and handler function.const toolNameSapSystemDelete = "sap-system-delete"; server.tool(toolNameSapSystemDelete, `# Delete an existing SAP system`, { name: z.string() }, { title: "Delete a SAP system", readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: false }, async ({ name }) => { return wrapToolResult(`Delete SAP system ${name}`, async () => { const trackingKey = trackingToolPrefix + toolNameSapSystemDelete; return await simplifier.deleteSapSystem(name, trackingKey); }) });
- src/tools/index.ts:19-19 (registration)Top-level registration call to registerSapSystemTools within the main registerTools function, which registers all tools including sap-system-delete.registerSapSystemTools(server, simplifier)