Skip to content

feat(media): add ebay_upload_image_data for inline base64 pictures - #210

Closed
mistermakc wants to merge 1 commit into
YosefHayim:mainfrom
mistermakc:feature/upload-image-data
Closed

mistermakc wants to merge 1 commit into
YosefHayim:mainfrom
mistermakc:feature/upload-image-data

Conversation

@mistermakc

@mistermakc mistermakc commented Nov 4, 2026 •

Copy link
Copy Markdown

ebay_upload_images only reads files from directories listed in EBAY_MCP_MEDIA_DIRS, so an assistant cannot upload photos that live outside the server's machine, for example images attached to a chat.

ebay_upload_image_data takes the pictures as base64 (optionally with a data URL header), detects the type from the file signature, enforces the 12 MB Picture Services limit and uploads them through the existing uploadImageFiles path, returning the EPS URLs in input order. No media directory is needed because nothing is read from disk.

@YosefHayim

ebay_upload_images only reads files from directories listed in
EBAY_MCP_MEDIA_DIRS, so an assistant cannot upload photos that live
outside the server's machine, for example images attached to a chat.

ebay_upload_image_data takes the pictures as base64 (optionally with a
data URL header), detects the type from the file signature, enforces the
12 MB Picture Services limit and uploads them through the existing
uploadImageFiles path, returning the EPS URLs in input order. No media
directory is needed because nothing is read from disk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mistermakc
mistermakc force-pushed the feature/upload-image-data branch from 1075cce to 0147507 Compare November 4, 2026 11:59
@mistermakc mistermakc closed this Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant