Skip to main content
Glama

pause_workflow

Pause a running workflow execution to temporarily halt its progress, allowing for troubleshooting or manual intervention before resuming operations.

Instructions

Pause a running workflow execution. The workflow will pause and can be resumed later.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflowIdYesThe workflow execution ID to pause

Implementation Reference

  • Executes the pause_workflow tool by sending a PUT request to Conductor's /workflow/{workflowId}/pause endpoint and returns a success message.
    case "pause_workflow": { const { workflowId } = args as any; await conductorClient.put(`/workflow/${workflowId}/pause`); return { content: [ { type: "text", text: `Workflow ${workflowId} paused successfully.`, }, ], }; }
  • Defines the tool schema with name, description, and input schema requiring a workflowId string.
    { name: "pause_workflow", description: "Pause a running workflow execution. The workflow will pause and can be resumed later.", inputSchema: { type: "object", properties: { workflowId: { type: "string", description: "The workflow execution ID to pause", }, }, required: ["workflowId"], }, },
  • src/index.ts:598-602 (registration)
    Registers the list of tools (including pause_workflow) for the ListToolsRequestSchema handler.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools, }; });

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/opensensor/conductor-mcp'

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