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
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | The workflow execution ID to pause |
Implementation Reference
- src/index.ts:895-907 (handler)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.`, }, ], }; }
- src/index.ts:277-291 (schema)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, }; });