delete_workflow
Remove a workflow from the Automatisch automation platform by specifying its ID to manage and organize automated processes.
Instructions
Delete a workflow
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | Workflow ID to delete |
Implementation Reference
- src/handlers.ts:319-327 (handler)The switch case handler that executes the delete_workflow tool by invoking the api.deleteWorkflow helper and returning the result as JSON text.case "delete_workflow": return { content: [ { type: "text", text: JSON.stringify(await main.api.deleteWorkflow(args?.workflowId), null, 2) } ] };
- src/handlers.ts:91-104 (registration)Registration of the 'delete_workflow' tool within the ListTools handler, specifying name, description, and input schema.{ name: "delete_workflow", description: "Delete a workflow", inputSchema: { type: "object", properties: { workflowId: { type: "string", description: "Workflow ID to delete" } }, required: ["workflowId"] } },
- src/handlers.ts:94-104 (schema)Input schema definition for the delete_workflow tool.inputSchema: { type: "object", properties: { workflowId: { type: "string", description: "Workflow ID to delete" } }, required: ["workflowId"] } },
- src/api.ts:21-23 (helper)Helper function in the API module that performs the actual delete workflow operation (currently a stub).deleteWorkflow: async function(workflowId: any) { // ... copy deleteWorkflow logic from index.ts ... },