Skip to main content
Glama

update_workflow

Modify existing workflows in Automatisch by updating their name, description, or activation status to maintain automation processes.

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

  • Executes the update_workflow tool by calling the API helper main.api.updateWorkflow with the provided workflowId and arguments.
    case "update_workflow": return { content: [ { type: "text", text: JSON.stringify(await main.api.updateWorkflow(args?.workflowId, args), null, 2) } ] };
  • src/handlers.ts:65-90 (registration)
    Registers the 'update_workflow' tool in the list of available tools returned by listTools, including its name, description, and input schema.
    { 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"] } },
  • Defines the input schema for the update_workflow tool, specifying parameters like workflowId (required), name, description, and active status.
    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"] }
  • Stub definition of the updateWorkflow helper function used by the tool handler, which is intended to contain the actual API logic but is currently unimplemented.
    updateWorkflow: async function(workflowId: any, data: any) { // ... copy updateWorkflow logic from index.ts ...

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