feat(agent-toolkit): add get_asset_upload_url and finalize_asset_upload tools#332
Open
feat(agent-toolkit): add get_asset_upload_url and finalize_asset_upload tools#332
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… attach, dummy ETag) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ure in get_asset_upload_url Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…hema, add --api-url arg - Add append_file_to_column tool that safely appends a file to an existing file column without clobbering other files (fetches current values first) - Update finalize_asset_upload to return filelink instead of is_image/url_thumb, matching the updated AssetResult schema in assets-core (commit 07b6857) - Add --api-url / -au CLI arg to monday-api-mcp to allow pointing at staging - Register AppendFileToColumnTool in platform-api-tools index Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…l in append_file_to_column Replaces the two-step fetch-existing-files + update_assets_on_item pattern with a direct change_column_value mutation using the added_file JSON payload. This eliminates the race condition and avoids copying the underlying asset. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…nd_file_to_column finalize_asset_upload now accepts a required columnId and calls change_column_value with an added_file payload immediately after complete_upload, preventing orphaned assets. append_file_to_column is removed — callers can use change_item_column_values with raw JSON for any other append use cases. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Guard empty parts array in GetAssetUploadUrlTool (throw instead of returning undefined url) - Remove non-existent fileName param from finalize_asset_upload description - Add comments on versionOverride: 'dev' explaining graduation path - Add test for empty-parts error path in GetAssetUploadUrlTool - Update CHANGELOG with 5.3.2 entry for asset upload tools - Re-run codegen to remove stale GetFileColumnValue types (source deleted in e01b7b8 but codegen was not re-run) - Revert --api-url / mondayApiEndpoint changes (staging-only, belongs in stash not in branch) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <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
Adds two new MCP tools enabling AI agents to upload files to monday.com and attach them to file columns on board items.
Tools added
get_asset_upload_url— Step 1: request a presigned S3 upload URL.fileName,contentType,fileSize(max 500MB)upload_id,upload_url,url_expires_atfinalize_asset_upload— Step 2: finalize the upload and attach to a column.uploadId,etag(from PUT response headers),boardId,itemId,columnIdasset_id,filename,content_type,file_size,url,filelinkUsage example
Both tools use
versionOverride: 'dev'ascreate_upload/complete_uploadare currently dev-schema-only.🤖 Generated with Claude Code