feat(agent-toolkit): add change_item_column_values_batch tool#345
Open
shifrinnitzan wants to merge 6 commits into
Open
feat(agent-toolkit): add change_item_column_values_batch tool#345shifrinnitzan wants to merge 6 commits into
shifrinnitzan wants to merge 6 commits into
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ing tests for batch tool Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…index Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add conditional boardId schema (omit when context provides it) - Use identical columnValues .describe() text with full JSON example - Add both preconditions (get_board_info + link_board_items_workflow) - Extract GraphQL response errors in failed items (same as rethrowWithContext) - Align itemId/createLabelsIfMissing .describe() text verbatim - Add 3 new tests: GraphQL error extraction, schema conditional tests Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…mise.allSettled Replace N individual HTTP requests with a single GraphQL request containing aliased change_multiple_column_values mutations. This reduces API round-trips from O(n) to O(1) and avoids rate-limit exposure on large batches. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Per-item success entries now use item_id, item_name, item_url and include
a "Item {id} successfully updated" message — matching the singular
change_item_column_values tool response contract.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
change_item_column_values_batchtool that accepts an array of{ itemId, columnValues }objects and dispatches them viaPromise.allSettledchangeItemColumnValuesGraphQL mutation (no server-side changes needed)Motivation
Sidekick agents currently dispatch 70+ individual
change_item_column_valuesmutations sequentially when bulk-updating items (e.g., assigning deal owners). This amplifies API call overhead and rate-limit exposure. The batch tool cuts round-trips and makes the agent resilient to partial failures.Traced in LangSmith:
ai-agents-stagingtrace019e24d3— 70 sequential mutations, 47 failed due to non-subscriber assignment errors.Test plan
@mondaydotcomorg/agent-toolkitinDaPulse/hosted-mcpand addchange_item_column_values_batchtoDEFAULT_TOOLS🤖 Generated with Claude Code