upload_file
Upload files up to 10MB to Mailchimp's file manager using base64-encoded content, optionally specifying a folder to organize assets.
Instructions
Upload a file to the Mailchimp file manager (max 10MB)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"file_data": "<file_data>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | File name with extension | |
| file_data | Yes | Base64-encoded file content | |
| folder_id | No | Folder ID to upload into |