feat(agent-toolkit): add create_workflow_builder tool#352
Conversation
23b3cb3 to
1478829
Compare
Adds a new MCP tool that calls the create_workflow GraphQL mutation in the workflow-builder subgraph to provision a new empty workflow and return its workflow_object_id and workflow_id. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ivacy_kind type Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ools Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ilder to generated types Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…description Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2322649 to
9cd6034
Compare
| schema: 'src/monday-graphql/schema.dev.graphql' | ||
| documents: 'src/**/*.graphql.dev.ts' | ||
| documents: | ||
| - 'src/**/*.graphql.dev.ts' |
There was a problem hiding this comment.
The array format was a leftover from when we had an exclusion line here. Reverted to a plain string — same as before.
| @@ -0,0 +1 @@ | |||
| export * from './create-workflow/create-workflow-tool'; | |||
There was a problem hiding this comment.
I think no ned for index file, we dont have those in the repo
There was a problem hiding this comment.
workflows-tools/, agents-tools/, and dashboard-tools/ all follow the same pattern with an index.ts re-export. I've added one here for consistency — see those directories as reference.
There was a problem hiding this comment.
Fair point — removed the index.ts, importing directly now.
There was a problem hiding this comment.
In package json file of agent toolkit, please bump the version
There was a problem hiding this comment.
Done — bumped to 5.15.0.
… documents format Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
||
| Terminology: | ||
| - Workflow Builder vs. board automations: Workflow Builder workflows are standalone objects scoped to a workspace. Board automations (create_automation) are per-board trigger/action rules. They are different products. | ||
| - Draft: the editable, inactive version of a workflow. Changes are made on the draft until it is activated. |
There was a problem hiding this comment.
until it is published to live version
There was a problem hiding this comment.
Good catch — updated to 'Changes are made on the draft until it is published to live version.'
…er description Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…iption Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rkflow_builder description Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…der description Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rt tool directly Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ction after automations tools Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
https://monday.monday.com/boards/18412762536/pulses/12033858412
Summary
create_workflow_builderMCP tool that calls the workflow-buildercreate_workflowGraphQL mutationworkflow_object_id(stable entity ID) andworkflow_draft_id(draft version ID)workspaceId(required), and optionaltitle,privacyKind(PUBLIC/PRIVATE/SHAREABLE),description,folderId,ownerIdsworkflow-builder-tools/folder, distinct from the automations-sideworkflows-tools/Test plan
npm testinpackages/agent-toolkit)create_workflow_builderwith a valid workspace ID and verify both IDs are returnedtitle,privacyKind,description,folderId,ownerIds) are forwarded correctly🤖 Generated with Claude Code