save_url_to_drive
Save an Amazon image-CDN file (media-amazon.com, ssl-images-amazon.com and their .cn twins; at most 10 MB) straight to a Drive folder — the server streams it.
writeGoogle Sheets, Docs & Drive
Any other host, including cdn.sellersheetai.com, is refused (403); use start_drive_upload for those.
Call it
In an AI client (MCP)
{
"name": "save_url_to_drive",
"arguments": {
"url": "<url>",
"parentId": "<parentId>"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/save_url_to_drive \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"<url>","parentId":"<parentId>"}'Early access — the Tool API is open on request, contact us.
Arguments
| Name | Type | Description |
|---|---|---|
urlrequired | string | https URL of the file (e.g. https://m.media-amazon.com/images/I/....jpg). |
parentIdrequired | string | Target Drive folder ID. |
name | string | Optional file name. Defaults to the URL's basename. |
Result
Every tool answers {notification, data, human_action}; data carries:
fileId— the new Drive file's ID.name— the name it was saved under.size— bytes written.
Example
save_url_to_drive(url="https://m.media-amazon.com/images/I/61abc.jpg", parentId="1ABC...")