feat(agent-toolkit): support owners in create_board tool#335
Merged
ron-monday merged 4 commits intomasterfrom May 7, 2026
Merged
feat(agent-toolkit): support owners in create_board tool#335ron-monday merged 4 commits intomasterfrom
ron-monday merged 4 commits intomasterfrom
Conversation
Expose owners input on create_board and pass it through GraphQL mutation variables so MCP users can set board owners at creation time. Co-authored-by: Cursor <cursoragent@cursor.com>
KamieShamiSchnitzer
approved these changes
May 6, 2026
shaneer
requested changes
May 6, 2026
|
|
||
| getDescription(): string { | ||
| return 'Create a monday.com board'; | ||
| return 'Create a monday.com board, optionally setting owner user IDs'; |
Collaborator
There was a problem hiding this comment.
This should not be in the gneeral description, it's enough that the arg itself has a description
| boardKind: input.boardKind, | ||
| boardDescription: input.boardDescription, | ||
| workspaceId: input.workspaceId, | ||
| owners: input.owners, |
Collaborator
There was a problem hiding this comment.
if there is no owners passed (as it is optional) it should not be added in the variables.
What would the result behavior here be if null is sent? I think it's better to include this only when argument is actually passed (input.owners is defined) and please add tests here to validate behavior
Collaborator
Author
There was a problem hiding this comment.
@shaneer, the GraphQL mutation of create_board has no issues with "null" as the value of board_owners_ids
Keep create_board description generic and only include owners in mutation variables when explicitly provided, with tests for both variable-shaping paths. Co-authored-by: Cursor <cursoragent@cursor.com>
Align create_board with schema field board_owner_ids and rename MCP input to boardOwnerIds, then update tests to use BoardKind enum values for type-safe execution. Co-authored-by: Cursor <cursoragent@cursor.com>
shaneer
approved these changes
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ownersinput to thecreate_boardplatform API tool schemaownersthroughCreateBoardMutationVariablesand into thecreate_boardGraphQL mutationTest plan
npm run codegeninpackages/agent-toolkit(full codegen sync)npm run buildinpackages/agent-toolkitcreate_boardwithownersand confirm request includesownersMade with Cursor