Skip to main content
Glama
hiveflowai

HiveFlow MCP Server

Official
by hiveflowai

resume_flow

Resume paused automation flows in HiveFlow by providing the flow ID. Ideal for restoring interrupted processes and maintaining workflow continuity.

Instructions

Reanuda un flujo pausado

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowIdYesID del flujo a reanudar

Implementation Reference

  • The main handler function for the 'resume_flow' tool. Sends a POST request to `/api/flows/${flowId}/resume` via hiveflowClient and returns a formatted success message with the flow's new status.
    async resumeFlow(args) { const response = await this.hiveflowClient.post(`/api/flows/${args.flowId}/resume`); return { content: [ { type: 'text', text: `▶️ Flujo reanudado exitosamente.\nEstado: ${response.data.status || 'activo'}` } ] }; }
  • Input schema definition for the 'resume_flow' tool, specifying that it requires a 'flowId' string parameter.
    inputSchema: { type: 'object', properties: { flowId: { type: 'string', description: 'ID del flujo a reanudar' } }, required: ['flowId']
  • src/index.js:136-149 (registration)
    Registration of the 'resume_flow' tool in the MCP server's ListTools response, including name, description, and input schema.
    { name: 'resume_flow', description: 'Reanuda un flujo pausado', inputSchema: { type: 'object', properties: { flowId: { type: 'string', description: 'ID del flujo a reanudar' } }, required: ['flowId'] } },
  • src/index.js:224-225 (registration)
    Dispatch/routing logic in the CallToolRequestHandler that maps 'resume_flow' tool calls to the resumeFlow method.
    case 'resume_flow': return await this.resumeFlow(args);

Other Tools

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

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