Skip to main content
Glama
hiveflowai

HiveFlow MCP Server

Official
by hiveflowai

pause_flow

Pause an active automation flow in HiveFlow to temporarily stop execution while preserving its state for later resumption.

Instructions

Pausa un flujo activo

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowIdYesID del flujo a pausar

Implementation Reference

  • The main handler function for the 'pause_flow' tool. It makes a POST request to the HiveFlow API to pause the specified flow and returns a success message with the new status.
    async pauseFlow(args) { const response = await this.hiveflowClient.post(`/api/flows/${args.flowId}/pause`); return { content: [ { type: 'text', text: `⏸️ Flujo pausado exitosamente.\nEstado: ${response.data.status || 'pausado'}` } ] }; }
  • The input schema definition for the 'pause_flow' tool as registered in the ListTools response. Requires a 'flowId' string.
    name: 'pause_flow', description: 'Pausa un flujo activo', inputSchema: { type: 'object', properties: { flowId: { type: 'string', description: 'ID del flujo a pausar' } }, required: ['flowId'] }
  • src/index.js:222-223 (registration)
    The switch case in the CallToolRequestHandler that registers and dispatches 'pause_flow' calls to the pauseFlow method.
    case 'pause_flow': return await this.pauseFlow(args);

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/hiveflowai/hiveflow-mcp-server'

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