Skip to main content
Glama

update_workflow

Modify existing workflows in Automatisch by updating names, descriptions, or activation status to adapt automation processes as business needs change.

Instructions

Update an existing workflow

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflowIdYesWorkflow ID to update
nameNoNew workflow name
descriptionNoNew workflow description
activeNoWorkflow active status

Implementation Reference

  • src/handlers.ts:65-90 (registration)
    Registration of the 'update_workflow' tool in the ListToolsRequestHandler, including name, description, and input schema definition.
    { name: "update_workflow", description: "Update an existing workflow", inputSchema: { type: "object", properties: { workflowId: { type: "string", description: "Workflow ID to update" }, name: { type: "string", description: "New workflow name" }, description: { type: "string", description: "New workflow description" }, active: { type: "boolean", description: "Workflow active status" } }, required: ["workflowId"] } },
  • The handler logic in CallToolRequestHandler for 'update_workflow', which invokes the API helper to update the workflow and returns the JSON result.
    case "update_workflow": return { content: [ { type: "text", text: JSON.stringify(await main.api.updateWorkflow(args?.workflowId, args), null, 2) } ] };
  • API helper function stub for updateWorkflow, called by the tool handler. Actual logic is placeholder.
    updateWorkflow: async function(workflowId: any, data: any) { // ... copy updateWorkflow logic from index.ts ... },
  • Server instance exposes the api helpers (including updateWorkflow) to the handlers via 'main.api'.
    public api = apiHelpers(this);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/milisp/automatisch-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server