businessobject-function-delete
Remove specific functions from Business Objects in the Simplifier Low Code Platform by specifying the business object and function names.
Instructions
Delete an existing Business Object Function
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| businessObjectName | Yes | ||
| functionName | Yes |
Implementation Reference
- Handler function that performs the deletion of a Business Object function by calling simplifier.deleteServerBusinessObjectFunction with tracking.async ({ businessObjectName, functionName }) => { return wrapToolResult(`Delete Business Object Function ${businessObjectName}.${functionName}`, async () => { const trackingKey = trackingToolPrefix + toolNameBusinessObjectFunctionDelete return await simplifier.deleteServerBusinessObjectFunction(businessObjectName, functionName, trackingKey); }) });
- Input schema validation using Zod for the required parameters: businessObjectName and functionName.{ businessObjectName: z.string(), functionName: z.string() },
- src/tools/server-businessobject-tools.ts:303-321 (registration)Tool registration using McpServer.tool() method, defining the tool name, description, input schema, metadata hints, and inline handler function.const toolNameBusinessObjectFunctionDelete = "businessobject-function-delete" server.tool(toolNameBusinessObjectFunctionDelete, `# Delete an existing Business Object Function`, { businessObjectName: z.string(), functionName: z.string() }, { title: "Delete a Business Object Function", readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: false }, async ({ businessObjectName, functionName }) => { return wrapToolResult(`Delete Business Object Function ${businessObjectName}.${functionName}`, async () => { const trackingKey = trackingToolPrefix + toolNameBusinessObjectFunctionDelete return await simplifier.deleteServerBusinessObjectFunction(businessObjectName, functionName, trackingKey); }) });
- src/tools/index.ts:14-14 (registration)Top-level registration call to registerServerBusinessObjectTools within registerTools, which includes the businessobject-function-delete tool.registerServerBusinessObjectTools(server, simplifier)