PromptShuttle

activate_flow_version

Activates a flow's version for an environment, making it live for API calls. Activates the latest version by default, or a specific version by ID. The entrypoint template must have a model configured (set one via update_flow_template) — activation fails otherwise. Activation locks the version (it becomes read-only; editing it again forks a new draft). Returns the environment -> version mapping after activation.

Remote Bring a key revuo:promptshuttle

Remote (network-hosted) · Needs a self-provisionable API key

Other tools also called activate_flow_version? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "flowIdOrName": {
      "description": "Flow ID (ObjectId) or Name",
      "type": "string"
    },
    "environment": {
      "description": "Environment name to go live in (e.g. 'production', 'staging')",
      "type": "string",
      "default": "production"
    },
    "versionId": {
      "description": "Specific version ID to activate (omit to use the latest version)",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "comment": {
      "description": "Optional comment describing what changed in this version",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "flowIdOrName"
  ]
}