Skip to content

feat(agent-toolkit): add update_workflow tool#359

Merged
amitrossmonday merged 14 commits into
masterfrom
feature/amit/mcp-create-mondaycom-mcp-tool-update-workflow
May 28, 2026
Merged

feat(agent-toolkit): add update_workflow tool#359
amitrossmonday merged 14 commits into
masterfrom
feature/amit/mcp-create-mondaycom-mcp-tool-update-workflow

Conversation

@amitrossmonday
Copy link
Copy Markdown
Collaborator

@amitrossmonday amitrossmonday commented May 25, 2026

Summary

  • Adds update_workflow MCP tool that updates an existing monday.com workflow draft using an AI agent
  • The tool calls the platform-agent proxy (/platform-ai-gateway/agents/workflow-builder) which invokes the workflow-builder microservice update API
  • Extracts WORKFLOW_BUILDER_AGENT_URL to a shared constants file (workflow-builder-tools/constants.ts)
  • 180s timeout for the agent call
  • Complements create_workflow — use create to scaffold a new workflow, then call update iteratively to build it out

Notes

  • Uses fetch() directly with Authorization header (same pattern as create_automation)
  • Registered with as unknown as BaseMondayApiToolConstructor cast (non-standard ctor signature)
  • Both workflowObjectId and workflowDraftId are required — returned by create_workflow
  • Prompt capped at 2000 characters (enforced by Zod + the downstream API)

🤖 Generated with Claude Code

@amitrossmonday amitrossmonday added the enhancement New feature or request label May 25, 2026
@amitrossmonday amitrossmonday force-pushed the feature/amit/mcp-create-mondaycom-mcp-tool-update-workflow branch from 730a63c to a322939 Compare May 26, 2026 13:56
@amitrossmonday amitrossmonday marked this pull request as draft May 26, 2026 14:55
amitrossmonday and others added 6 commits May 27, 2026 12:23
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…arams, extract URL to constants

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…iption

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ants in test

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rkflow_builder description

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…w, bump to 5.17.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@amitrossmonday amitrossmonday force-pushed the feature/amit/mcp-create-mondaycom-mcp-tool-update-workflow branch from a322939 to e03c401 Compare May 27, 2026 09:31
@amitrossmonday amitrossmonday changed the title feat(agent-toolkit): add update_workflow_builder tool feat(agent-toolkit): add update_workflow tool May 27, 2026
amitrossmonday and others added 4 commits May 27, 2026 12:35
…ported trigger

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ample

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…w prompt example

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…index

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@amitrossmonday amitrossmonday marked this pull request as ready for review May 27, 2026 09:40
amitrossmonday and others added 3 commits May 27, 2026 12:46
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…e in update_workflow params

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…_workflow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…t response in update_workflow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@amitrossmonday amitrossmonday merged commit 3e51a20 into master May 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants