update_flow_template

Updates a template's prompt text, response schema, and/or tool assignments in the active or latest version. If the version is locked, automatically forks it first (the fork is a draft — activate it via the UI or API). Falls back to the latest version if no version is activated. Returns confirmation with version ID and whether a fork was created.

Available from 1 provider (1 remote)

Input Schema


            {
  "type": "object",
  "properties": {
    "flowIdOrName": {
      "description": "Flow ID (ObjectId) or Name",
      "type": "string"
    },
    "newPromptText": {
      "description": "New prompt text for the system template",
      "type": "string"
    },
    "templateName": {
      "description": "Template name within the version (default: main)",
      "type": "string",
      "default": "main"
    },
    "environment": {
      "description": "Environment name (omit to auto-select when only one exists)",
      "type": "string",
      "default": ""
    },
    "newUserPromptText": {
      "description": "New user template text (rendered as a user message after system prompt). Pass empty string to clear.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "responseSchemaJson": {
      "description": "JSON string of response schema for structured outputs. Pass empty string to clear.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "toolIdsJson": {
      "description": "JSON array of tool ID strings to assign (e.g. '[\"id1\",\"id2\"]'). Use list_tools to find IDs. Pass '[]' to clear all tools. Omit to leave unchanged.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "flowIdOrName",
    "newPromptText"
  ]
}
          

Remote Providers (1)

These servers are accessible over the network — no local installation needed.

PromptShuttle

Remote

https://app.promptshuttle.com/api/mcp

View product →