Docs/MCP Tools/hivemind_workflow

hivemind_workflow

hivemind_workflow

Create and manage DAG-based workflows — directed acyclic graphs of tasks that execute in dependency order.

Actions

ActionDescription
listList all workflows
getGet a workflow by ID
createCreate a new workflow
runStart a workflow execution
runsList workflow runs
run-statusGet status of a specific run
updateUpdate a workflow definition
deleteDelete a workflow

Create Example

hivemind_workflow(
  action: "create",
  name: "deploy-pipeline",
  steps: [
    { id: "test", command: "Run all tests" },
    { id: "build", command: "Build production bundle", depends_on: ["test"] },
    { id: "deploy", command: "Deploy to staging", depends_on: ["build"] }
  ]
)

Run Example

hivemind_workflow(action: "run", workflow_id: "wf_abc123")

Check Run Status

hivemind_workflow(action: "run-status", run_id: "run_xyz789")

Workflows are executed step-by-step. Each step publishes events to Hivemind, so other agents can observe progress in real time.